Github user felixcheung commented on the pull request:
https://github.com/apache/spark/pull/9401#issuecomment-152870335
And generally people blog about using `.libPath` but this could cause all
packages to be installed to SparkR location as it becomes the default:
```
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
> install.packages("lubridate")
Installing package into â/opt/spark-1.6.0-bin-hadoop2.6/R/libâ
(as âlibâ is unspecified)
```
https://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html
---
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]