[R] .libPaths()

Thomas Lumley tlumley at u.washington.edu
Tue Apr 26 16:23:40 CEST 2005


On Tue, 26 Apr 2005, Sebastian Leuzinger wrote:

> Hello
> I use the function .libPaths()
>
>> .libPaths()
> [1] "/usr/local/lib/R/library"
>> .libPaths(c("/usr/local/lib/myRlib","/usr/local/lib/library"))
>> .libPaths()
> [1] "/usr/local/lib/R/library"
>
> but it simply does not pick up the new path. Can anybody help?
> (The problem originates from the inability to install packages
> into /usr/local/lib/R/library, running R under linux suse 9.3)
>

It works for me as long as the paths actually exist -- it didn't work with 
your example because I don't have /usr/local/lib/myRlib or 
/usr/local/lib/library.

 	-thomas




More information about the R-help mailing list