GitHub user actuaryzhang opened a pull request:
https://github.com/apache/spark/pull/17161
[SPARK-19819][SparkR] Use concrete data in SparkR DataFrame examples
## What changes were proposed in this pull request?
Many examples in SparkDataFrame methods uses:
```
path <- "path/to/file.json"
df <- read.json(path)
```
This is not directly runnable. Replace this with real numerical examples so
that users can directly execute the examples.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/actuaryzhang/spark sparkRDoc2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17161.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 #17161
----
commit 7e50acc4f270400aa00a728a9487ee1d5c1cc4fc
Author: actuaryzhang <[email protected]>
Date: 2017-03-04T08:45:56Z
update dataframe doc with examples
commit c4c14adf399bb7b5d272d574113edb7e9ee26d01
Author: actuaryzhang <[email protected]>
Date: 2017-03-04T08:53:27Z
update examples
----
---
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]