Re: [R] how to remove paths from where library() looks for packages

2007-12-27 Thread Lynd Bacon
Thanks, Henrique! I'm not sure this will help since the paths are already unique. Phil Spector wrote separately(Phil, I hope it's ok that I quote you here for the list): > Lynd - >If the message bothers you, look at /etc/R/Renviron and modify > the line that defines R_LIBS . However, note

Re: [R] how to remove paths from where library() looks for packages

2007-12-27 Thread Henrique Dallazuanna
Perhaps this: .libPaths(unique(installed.packages()[,2])) On 25/12/2007, Lynd Bacon <[EMAIL PROTECTED]> wrote: > Greetings. My current installation of R 2.6.1 on Unbuntu 7.10 ("Gutsy") > is looking for packages in a directory that doesn't contain any: > > > library() > Warning message: > In lib

[R] how to remove paths from where library() looks for packages

2007-12-26 Thread Lynd Bacon
Greetings. My current installation of R 2.6.1 on Unbuntu 7.10 ("Gutsy") is looking for packages in a directory that doesn't contain any: > library() Warning message: In library() : library "/usr/lib/R/site-library" contains no packages > .libPaths() [1] "/usr/local/lib/R/site-library" "/usr/l