On 06/12/2009 2:53 PM, Alexy Khrabrov wrote:
I have the .libPaths() defined in my .Rprofile, and it stopped having any
effect. Even if I try to do it in the REPL, as:
x <-
paste(Sys.getenv("HOME"),"/Library/R/",paste(R.version$major,as.integer(R.version$minor),sep='.'),"/library",sep='')
x
[1] "/Users/alexyk/Library/R/2.10/library"
.libPaths(x)
.libPaths()
[1] "/Library/Frameworks/R.framework/Resources/library"
Nothing GUI'sh.
(Changing back to r-help as it's by no means obvious yet it's a Mac-only
problem.)
Does that directory exist? .libPaths("foobar") silently does nothing,
because (on my system) "foobar" is not a directory. (This is documented
behaviour, though it would perhaps be friendlier if it gave a warning
when it dropped a requested addition.)
I don't think this is new behaviour...
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.