[R] The system command and the LD_LIBRARY_PATH

W.E. Wolski W.E.Wolski at newcastle.ac.uk
Tue Feb 22 17:56:27 CET 2005


Hi R-gurus,

In my envirovment I have specified the LD_LIBRARY_PATH to
/data/opt/libmy/lib

After starting R the LD_LIBRARY_PATH variable is changed.
> Sys.getenv("LD_LIBRARY_PATH")

"/data/opt/R-devel//lib/R/lib:/usr/local/lib:/usr/X11R6/lib:/data/opt/libmy/lib" 


The problem is that in /usr/local/lib is an acient version of mylib hence
a call to _system_ with fails badly.



Suggestions?

Eryk




More information about the R-help mailing list