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

From: Christos Hatzis <christos_at_silicoinsights.com>
Date: Wed 17 May 2006 - 10:53:19 EST


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@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Berton Gunter Sent: Tuesday, May 16, 2006 8:16 PM
To: 'Michael'
Cc: R-help@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.


R-help@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

R-help@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 Received on Wed May 17 10:59:18 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 18 May 2006 - 02:10:08 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.