Github user cafreeman commented on the pull request:
https://github.com/apache/spark/pull/7139#issuecomment-120175035
@shivaram The weird thing about R CMD INSTALL in this case is that if you
don't pass `-l` it'll actually install to the first location on your
`.libpaths()` list, which COULD still be `$SPARK_HOME/R/lib` depending on when
[this](https://github.com/apache/spark/blob/master/R/pkg/inst/profile/general.R#L20)
function gets processed.
If I remember right, there's something that ensures that SparkR is the last
library that gets loaded, correct? If that's the case, then R CMD INSTALL would
probably default to the standard package install location for R since that's
all that would exist on `.libPaths()`.
---
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]