[R] setting INSTALL libraries

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue May 4 22:18:54 CEST 2004


Douglas Bates <bates at stat.wisc.edu> writes:

> 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")

My first thought too, but Debby would know that, I suspect. Perhaps
LD_LIBRARY_PATH is more to the point? Re. configure-args, can't you
just do --configure-args="FEE=foe FIE=fum" ?

-- 
   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




More information about the R-help mailing list