Quick question about installing packages on a system where you do not have root access. Suppose a person is using R on a shared system where he cannot write to the installation directory (i.e. /usr/local/lib/R). What general advice would you give regarding where to install packages from CRAN. Should he use the R_LIBS environment variable or maybe .libPaths() in R or .Renviron? Thanks, -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Roger Peng <rpeng at stat.ucla.edu> writes:> Quick question about installing packages on a system where you do not have > root access. Suppose a person is using R on a shared system where he > cannot write to the installation directory (i.e. /usr/local/lib/R). What > general advice would you give regarding where to install packages from > CRAN. Should he use the R_LIBS environment variable or maybe .libPaths() > in R or .Renviron?Quick answer: echo 'R_LIBS=/home/pd/Rlibrary' > /home/pd/.Renviron which of course can be varied in several ways. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Maybe Matching Threads
- Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
- How best to set library search path so user libraries come first
- Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
- R CMD check --as-cran attempts to hide R_LIBS_USER but fails
- R CMD check --as-cran attempts to hide R_LIBS_USER but fails