[R] setting LD_LIBRARY_PATH

ian white i.m.s.white at ed.ac.uk
Mon Mar 26 14:53:46 CEST 2007


Dear R-help,

I am trying to use a package (not from CRAN) which includes two shared
library (.so) files. The maintainer suggests inserting two lines
in /usr/bin/R,

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:path-to-package/lib
export LD_LIBRARY_PATH

This works, but I felt more comfortable putting the first line
in .Renviron or $R_HOME/etc/Renviron.site. However this doesn't seem to
work, and I cannot see why it doesn't.

School of Biological Sciences, University of Edinburgh



More information about the R-help mailing list