[R] setting INSTALL libraries

Douglas Bates bates at stat.wisc.edu
Tue May 4 22:03:22 CEST 2004


Deborah Swayne <dfs at research.att.com> writes:

> Could someone remind me how to control the libraries and the search
> order used by 'R CMD INSTALL'?  I need to override the usual order to
> resolve a conflict on the old SGI I'm working with.  There must be
> something I can do with configure-args, right?  And what is the syntax
> for using multiple configure-args?

Set the environment variable R_LIBS.  In emacs I use

(setenv "R_LIBS" "/usr/local/lib/R/site-library:/usr/local/lib/R/library")




More information about the R-help mailing list