Re: [R] .libPaths()

2005-04-26 Thread Roger D. Peng
Did you check to make sure the new path exists?
-roger
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)


Sebastian Leuzinger
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
--
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] .libPaths()

2005-04-26 Thread Thomas Lumley
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
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] .libPaths()

2005-04-26 Thread Sebastian Leuzinger
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)


Sebastian Leuzinger

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html