[R] How to update R?

Kenn Konstabel lebatsnok at gmail.com
Fri Apr 1 11:24:34 CEST 2011


On Thu, Mar 31, 2011 at 9:04 PM, Shi, Tao <shidaxia at yahoo.com> wrote:
> This question has been asked by many people already.  The easiest way is:
>
> 1) install the new version
> 2) copy all or the libraries that you installed later from the "library" folder
> of older version to the new version
> 3) uninstall the old version
> 4) do a library update in the new version

On Windows, I've found that it is actually better to uninstall the old
version first. Uninstalling removes file associations for .Rdata and
other files even if a more recent version of R is present (although
perhaps there is a way to tell it not to) but this won't be a problem
if you do it in the following order:

> 3) uninstall the old version
> 1) install the new version
> 2) copy all or the libraries that you installed later from the "library" folder
> of older version to the new version
> 4) do a library update in the new version

Kenn



More information about the R-help mailing list