Skip to content

Upgrading an installation of R

3 messages · ggrothendieck@yifan.net, Kenneth Cabrera, Brian Ripley

#
I have installed R 1.4.0 on Windows 2000 and would like  to
upgrade to the newest version of R.  I am scared of messing
this up badly and would like to know if I should:

- uninstall my current version first, or
- just install the newer version without uninstalling
the current version

Do either of these work?  If both work, which is
preferable? Will I have to reinstall various 
packages that I previously installed on 1.4.0?

I tried:
- the FAQ
- ?install and help.search("install") from R
- searching on the word "install" on the site:
http://finzi.psych.upenn.edu/search.html

but the first two came up empty and the last
gave literally thousands of hits.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
ggrothendieck at yifan.net wrote:

            
When I upgrade R, y make the second option, because
sometimes there are new bugs on the new version, or
some of my old functions don't work on the new version
for one reason or another...either way I install the new version
on a different place (usually the setup installs it on a new directory
rw1041) so there are independent.

And later if you want to delete the old version it is very easy...
Just delete the directory and the links and/or the shortcuts to
the Rgui.exe program. R is a very clean program (no register stuff... )

And yes... you must reinstall the packages, but I make
a copy of the \library directory to the new one... and then
I use the upgrade.package() function to get the latest
pre compiled packages.


Hope this will help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krcabrer.vcf
Type: text/x-vcard
Size: 270 bytes
Desc: Card for Kenneth Cabrera
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20020303/a2a275b5/krcabrer.vcf
#
On Sun, 3 Mar 2002, Kenneth Cabrera wrote:

            
That is relevant in moving from rw1031 to rw1040, say, but I don't think
so for patch releases.
You can also run the uninstall program in the old directory.
You must do that rather carefully: library contains the standard packages
too, and they must be the correct versions.  It is better to use a separate
library for packages you install: see the rw-FAQ for how to do so.
Alternatively, uninstall 1.4.0, install 1.4.1 and then copy across the
rw1040\library directory.  Anything packages you added will be left alone
by the uninstall.

However you do it, run link.html.help() afterwards.