[R] How to upgrade R

Liaw, Andy andy_liaw at merck.com
Mon Oct 20 14:18:45 CEST 2003


What I do is to separate packages that shipped with R separate from other
contributed packages from CRAN, so that when I upgrade, I can wipe clean the
old R and re-install while keeping all other packages in place.

What's not clear to me is a good way of keeping two versions of R
simultaneously (for ease of transition).  Can anyone suggest a good strategy
for doing that on *nix?

Best,
Andy

> -----Original Message-----
> From: michael watson (IAH-C) [mailto:michael.watson at bbsrc.ac.uk] 
> Sent: Monday, October 20, 2003 5:49 AM
> To: r-help
> Subject: [R] How to upgrade R
> 
> 
> Hi
> 
> I wondered what the standard procedure was for upgrading from 
> one version of R to the next.  I currently have R 1.7.1 and 
> want the latest release, R 1.8.0.  I am running SUSE linux 
> 8.2.  The main thing is that I want to keep all of the 
> libraries that I have installed for R 1.7.1 without having to 
> re-install them.
> 
> I tried the rpm but that didn't really work :-(
> 
> I then tried installing from source and that worked.  I then 
> copied my library/ folder across to the new installation, but 
> now I get lots of error messages along the lines of:
> 
> Error in grep("\\w", platform) : 5 arguments passed to "grep" 
> which requires 6.
> 
> So, my question being, how do I upgrade from R version 1.7.1 
> to R 1.8.0 and keep all of my libraries intact?
> 
> Thanks
> Mick
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://www.stat.math.ethz.ch/mailman/listinfo> /r-help
>




More information about the R-help mailing list