[Rd] R-admin docs, Installing packages (PR#1554)
david.firth@nuffield.ox.ac.uk
david.firth@nuffield.ox.ac.uk
Tue, 14 May 2002 17:13:16 +0200 (MET DST)
Full_Name: David Firth
Version: 1.5.0
OS: Mac OS X (Darwin)
Submission from: (NULL) (163.1.103.123)
In the R-admin document, at "Installing packages", it says:
To install packages from source on Unix use
R CMD INSTALL -l /path/to/library pkg1 pkg2 ...
The part -l /path/to/library can be omitted, when the first library in R_LIBS
is
used if set, otherwise the main library R_HOME/library.
1. Can I suggest re-wording this last sentence? Replace "when" by "in which
case", and add "is used" at the end. I puzzled for quite a while before I
understood what the present wording meant (and I hope I got it right!)
2. I got confused also because although my .Renviron has
R_LIBS=/Users/david/Library/R
and that works when finding packages within an R session, when I use R CMD
install without the -l /path/to/library part, packages still get installed in
R_HOME/library. Am I right to conclude that .Renviron is not used by R CMD
install, and that R_LIBS has to be set by some other method before installing
packages to a private library in this way? This could be clearer in the
documentation I think.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._