Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/10836#discussion_r50219109
--- Diff: R/README.md ---
@@ -1,6 +1,16 @@
# R on Spark
SparkR is an R package that provides a light-weight frontend to use Spark
from R.
+### Installing sparkR
+
+Libraries of sparkR need to be created in `$SPARK_HOME/R/lib`. This can be
done by running the script `$SPARK_HOME/R/install-dev.sh`.
--- End diff --
actually, this line
```.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"),
.libPaths()))```
added SPARK_HOME/R/lib into R's lib path and allows R, any running version,
to load SparkR package from there - SparkR packages does not need to be
installed with `R CMD INSTALL` (in install-dev.sh) at all.
---
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]