[R-sig-Debian] little "r" cannot find packages

Stefan Franke stefanfranke at freenet.de
Mon Nov 30 08:50:26 CET 2009


You were right, I have different paths for my libraries:

vmuser at lenny157:~$ r -e 'print(.libPaths())' 
[1] \"/usr/local/lib/R/site-library\" \"/usr/lib/R/site-library\" 
[3] \"/usr/lib/R/library\" \"/usr/lib64/R/library\" 
 
vmuser at lenny157:~$ Rscript -e 'print(.libPaths())'
[1] \"/usr/local/lib64/R/library\"

vmuser at lenny157:~$ echo 'print(.libPaths())' | R --slave
[1] \"/usr/local/lib64/R/library\"

I fixed this by a simple link:

> ln -s /usr/local/lib64/R/library/Rmpi /usr/local/lib/R/site-library
> ln -s /usr/local/lib64/R/library/snow /usr/local/lib/R/site-library

It works, but this is not the best way to do it.
What would be your favorite way to set the paths?

Greetings, Stefan



Heute schon ge"freeMail"t?
Jetzt kostenlose E-Mail-Adresse sichern!
http://email.freenet.de/dienste/emailoffice/produktuebersicht/basic/mail/index.html?pid=6831





More information about the R-SIG-Debian mailing list