Skip to content

setting INSTALL libraries

3 messages · Deborah Swayne, Douglas Bates, Peter Dalgaard

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

Thanks,
Debby
#
Deborah Swayne <dfs at research.att.com> writes:
Set the environment variable R_LIBS.  In emacs I use

(setenv "R_LIBS" "/usr/local/lib/R/site-library:/usr/local/lib/R/library")
#
Douglas Bates <bates at stat.wisc.edu> writes:
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" ?