aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/NAMESPACE
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2015-07-22 21:40:23 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-07-22 21:40:23 -0700
commit2f5cbd860e487e7339e627dd7e2c9baa5116b819 (patch)
treecc6d860bcf45f3541b60f46e19cc64103cb7acb8 /R/pkg/NAMESPACE
parentb217230f2a96c6d5a0554c593bdf1d1374878688 (diff)
downloadspark-2f5cbd860e487e7339e627dd7e2c9baa5116b819.tar.gz
spark-2f5cbd860e487e7339e627dd7e2c9baa5116b819.tar.bz2
spark-2f5cbd860e487e7339e627dd7e2c9baa5116b819.zip
[SPARK-8364] [SPARKR] Add crosstab to SparkR DataFrames
Add `crosstab` to SparkR DataFrames, which takes two column names and returns a local R data.frame. This is similar to `table` in R. However, `table` in SparkR is used for loading SQL tables as DataFrames. The return type is data.frame instead table for `crosstab` to be compatible with Scala/Python. I couldn't run R tests successfully on my local. Many unit tests failed. So let's try Jenkins. Author: Xiangrui Meng <meng@databricks.com> Closes #7318 from mengxr/SPARK-8364 and squashes the following commits: d75e894 [Xiangrui Meng] fix tests 53f6ddd [Xiangrui Meng] fix tests f1348d6 [Xiangrui Meng] update test 47cb088 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-8364 5621262 [Xiangrui Meng] first version without test
Diffstat (limited to 'R/pkg/NAMESPACE')
-rw-r--r--R/pkg/NAMESPACE1
1 files changed, 1 insertions, 0 deletions
diff --git a/R/pkg/NAMESPACE b/R/pkg/NAMESPACE
index 5834813319..7f7a8a2e4d 100644
--- a/R/pkg/NAMESPACE
+++ b/R/pkg/NAMESPACE
@@ -26,6 +26,7 @@ exportMethods("arrange",
"collect",
"columns",
"count",
+ "crosstab",
"describe",
"distinct",
"dropna",