[Rd] installing packages

Jan de Leeuw
Sun, 30 Nov 2003 20:59:16 -0000

If R_LIBS is not set then R CMD INSTALL without a lib argument installs
in R_HOME/library
while install.packages() without lib installs in the first element of
.libPaths().

If R_LIBS is set, then R CMD INSTALL installs in the
first directory in R_LIBS, and install.packages() still installs in the
first element
of .libPaths() (i.e. ignores R_LIBS).

Is this difference intentional ? It would perhaps be more convenient if
.libPaths()[1] was used as a default in all cases (when no lib argument
is given).

==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical
Software
US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://gifi.stat.ucla.edu

------------------------------------------------------------------------
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai