Github user sun-rui commented on the pull request:

    https://github.com/apache/spark/pull/9390#issuecomment-155996045
  
    Thanks to @brkyvz for catching this issue. I think a better solution is as 
documented at 
https://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html:
    The library search path is initialized at startup from the environment 
variable R_LIBS (which should be a colon-separated list of directories at which 
R library trees are rooted) followed by those in environment variable 
R_LIBS_USER. Only directories which exist at the time will be included.
    
    Before installing R sources, R_LIBS can be set to point to 
<SPARK_HOME>/R/lib.



---
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]

Reply via email to