On 26.04.2010 21:12, Tal Galili wrote:
Thank you Mike,
That is indeed what I used in the code eventually.
http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/

.... which shows we do not need the code that is much more error prone than setting a single environment variable, as far as I can see.

Uwe Ligges


Thanks for answering,
Tal

----------------Contact
Details:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Mon, Apr 26, 2010 at 9:31 PM, Mike Prager<mhprager....@gmail.com>  wrote:

On Fri, 23 Apr 2010 15:22:45 +0300, Tal Galili<tal.gal...@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

______________________________________________
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.


        [[alternative HTML version deleted]]

______________________________________________
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.

______________________________________________
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.

Reply via email to