[R-SIG-Mac] [R] .libPaths(new) stopped working in 2.10

David Winsemius dwinsemius at comcast.net
Sun Dec 6 20:45:35 CET 2009


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?

What is "new"?

.libPaths() would need a character argument. Are you referring to this  
Grab picture of a checkbox in the Startup GUI preferences:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 22420 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20091206/ca782a36/attachment-0001.tiff>
-------------- next part --------------


(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



More information about the R-SIG-Mac mailing list