GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/7318
[WIP][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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-8364
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7318.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7318
----
commit 5621262e96e80e1511b54e3adad0423ce7869d57
Author: Xiangrui Meng <[email protected]>
Date: 2015-06-14T21:01:32Z
first version without test
commit 47cb08889f9ca9a61b7112708222c47af34c9ec6
Author: Xiangrui Meng <[email protected]>
Date: 2015-07-09T06:54:49Z
Merge remote-tracking branch 'apache/master' into SPARK-8364
commit 18b9fd9b82713d4cf705031fe8d794b3743acadc
Author: Xiangrui Meng <[email protected]>
Date: 2015-07-09T07:44:15Z
update test
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]