[R] packages in non-system directories
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Thu Oct 24 22:56:58 CEST 2002
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list