[R-SIG-Mac] [R] .libPaths(new) stopped working in 2.10
Simon Urbanek
simon.urbanek at r-project.org
Mon Dec 7 16:03:54 CET 2009
On Dec 6, 2009, at 14:45 , David Winsemius wrote:
>
> On Dec 6, 2009, at 2:32 PM, Alexy Khrabrov wrote:
>
>> I used to have the following in my .Rprofile:
>>
>> if (length(.libPaths())==1)
>> .libPaths(paste(Sys.getenv("HOME"),"/Library/R/",paste(R.version
>> $major,as.integer(R.version$minor),sep='.'),"/library",sep=''))
>>
>> -- and it added my user-defined library directory. Then I installed
>> packages there, so during an upgrade, I'd know exactly which packages
>> I installed and auto-upgrade with a script.
>>
>> However, in R 2.10's Mac OSX GUI, .libPaths(new) does nothing... Did
>> its behavior change?
>
No - if it doesn't appear, it means the directory doesn't exist. (This
was always the case, that's nothing new in 2.10).
Cheers,
Simon
> What is "new"?
>
> .libPaths() would need a character argument. Are you referring to
> this Grab picture of a checkbox in the Startup GUI preferences:
> <pastedGraphic.tiff>
>
> (probably not passed through the r-help-list-server)
>
> I actually have the inverse problem. It has been created and I would
> like to remove it.
>
> Changing the mailing list to r-sig-mac to which Alexy should have
> sent this.
>
>
>>
>> Cheers,
>> Alexy
>>
>> ______________________________________________
>> R-help at 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.
>
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list