[R] How do you change library location ? (in R under windows XP)

David Winsemius dwinsemius at comcast.net
Fri Apr 23 15:42:13 CEST 2010


On Apr 23, 2010, at 8:22 AM, Tal Galili wrote:

> Due to the new R 2.11 release, I want to implement Dirk's suggestion
> here<http://stackoverflow.com/questions/1401904/painless-way-to-install-a-new-version-of-r 
> >
> .
>
> So for that I am asking - How can I (permanently) change R's library  
> path?

Permanently? Not sure, but in .Rprofile you could leave code that sets  
with .libPaths()

 > .libPaths()  # will accept alterations
[1] "/Library/Frameworks/R.framework/Resources/library"
 >

> (The best solution would be one that can be run from within R)
> Thanks,
> Tal
>


-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list