Tal Galili
2010-Apr-23 12:22 UTC
[R] How do you change library location ? (in R under windows XP)
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? (The best solution would be one that can be run from within R) Thanks, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- [[alternative HTML version deleted]]
David Winsemius
2010-Apr-23 13:42 UTC
[R] How do you change library location ? (in R under windows XP)
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
Mike Prager
2010-Apr-26 18:31 UTC
[R] How do you change library location ? (in R under windows XP)
On Fri, 23 Apr 2010 15:22:45 +0300, Tal Galili <tal.galili at gmail.com> 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? >(The best solution would be one that can be run from within R)To me, it seemed more straightforward to do this outside R. Just set the environment variable R_LIBS in Windows to something like R_LIBS=c:/R/Library Then, delete your R installation. Install the new version and all desired packages. The add-on packages will be located according to your environment setting, and future updates will not require add-on packages to be copied or reloaded. HTH
Seemingly Similar Threads
- Why doesn't my change of "Renviron.site" work on "windows 7" ?
- I am failing to run the (windows) example in: help(Startup)
- Upgrading R using the "global library folder" strategy - what do you think about it?
- Importing tRNA data into R ?
- Capturing R console output into a file (sink+savehistory ??)