Michael
2006-May-16 21:41 UTC
[R] everytime I download a new version of R, need I reinstall all packages?
Can the packages that I've installed in R 2.2.1 be automatically imported to R 2.3.0? Otherwise it is a hassle everytime I update a new version of R... [[alternative HTML version deleted]]
Michael
2006-May-17 00:02 UTC
[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 libraries that I've installed myself previously in 2.2.1 are now gone... I have to reinstall them one by one... in 2.3.0 On 5/16/06, Berton Gunter <gunter.berton@gene.com> wrote:> > No. See ?update.packages, which automates the process. > > -- Bert Gunter > Genentech Non-Clinical Statistics > South San Francisco, CA > > "The business of the statistician is to catalyze the scientific learning > process." - George E. P. Box > > > > > -----Original Message----- > > From: r-help-bounces@stat.math.ethz.ch > > [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Michael > > Sent: Tuesday, May 16, 2006 2:41 PM > > To: R-help@stat.math.ethz.ch > > Subject: [R] everytime I download a new version of R,need I > > reinstall all packages? > > > > Can the packages that I've installed in R 2.2.1 be > > automatically imported to > > R 2.3.0? > > > > Otherwise it is a hassle everytime I update a new version of R... > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > 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 > > > >[[alternative HTML version deleted]]
Gabor Csardi
2006-May-17 00:12 UTC
[R] everytime I download a new version of R, need I reinstall all packages?
Well, if you removed your installed packages together with R then of course you need to reinstall them.... consider installing the packages in a separate directory, not in the R tree. (I install packages into ~/.R/library on my Linux box for example.) This way at the next R update you don't need to reinstall them. (If they are compatible with the new R version.) Gabor On Tue, May 16, 2006 at 05:02:45PM -0700, Michael wrote:> 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 > libraries that I've installed myself previously in 2.2.1 are now gone... I > have to reinstall them one by one... in 2.3.0 > > On 5/16/06, Berton Gunter <gunter.berton at gene.com> wrote: > > > > No. See ?update.packages, which automates the process. > > > > -- Bert Gunter > > Genentech Non-Clinical Statistics > > South San Francisco, CA > > > > "The business of the statistician is to catalyze the scientific learning > > process." - George E. P. Box > > > > > > > > > -----Original Message----- > > > From: r-help-bounces at stat.math.ethz.ch > > > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Michael > > > Sent: Tuesday, May 16, 2006 2:41 PM > > > To: R-help at stat.math.ethz.ch > > > Subject: [R] everytime I download a new version of R,need I > > > reinstall all packages? > > > > > > Can the packages that I've installed in R 2.2.1 be > > > automatically imported to > > > R 2.3.0? > > > > > > Otherwise it is a hassle everytime I update a new version of R... > > > > > > [[alternative HTML version deleted]] > > > > > > ______________________________________________ > > > 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 > > > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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-- Csardi Gabor <csardi at rmki.kfki.hu> MTA RMKI, ELTE TTK
Berton Gunter
2006-May-17 00:15 UTC
[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 theWait 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