[R] everytime I download a new version of R, need I reinstall all packages?

Christos Hatzis christos at silicoinsights.com
Wed May 17 02:53:19 CEST 2006


The process that you outlined is described in the Windows R FAQ 2.8 "What's
the best way to upgrade?".
The same process should apply to other platforms as well, but I don't think
it is in the general R FAQ.  Perhaps it should.

-Christos   

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Berton Gunter
Sent: Tuesday, May 16, 2006 8:16 PM
To: 'Michael'
Cc: R-help at stat.math.ethz.ch
Subject: Re: [R] everytime I download a new version of R,need I reinstall
all packages?

> 
> I think you did not answer my question... I now upgraded my main R 
> program from 2.2.1 to 2.3.0 and I removed the 2.2.1 installation, but 
> all the

Wait until after you use update.packages() to remove your previous
installation. You can keep multiple versions of R simultaneously, so this is
no problem. That is:

1) Install new R version
2) Run update.packages() on old library version
3) Copy updated old library to new library location (or point new library
location to old)
4) Remove old R version (and its libraries if you copied them)

There are probably better ways to do this, which this message may stimulate.


-- Bert

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list