[R] upgrading to 1.5.0/uninstalling 1.4.1 on Linux

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed May 1 09:42:16 CEST 2002

Rajiv Prasad <rajiv.prasad at charter.net> writes:

> Hi folks:
> I have a feeling this must be a FAQ, but I did not find the answer in R 
> Installation and Administration manual.  Please point me to the right place 
> to look for answer to this question if it's already answered.
> I am running 1.4.1 on an Alpha PCA56 (aka 164SX) running Redhat Linux 7.1 
> (kernel 2.4.19-pre4).  I built 1.4.1 from sources and it is installed in 
> /usr/local (the default).  I did compile and install some additional packages 
> for 1.4.1 besides the recommended ones.
> I want to upgrade to 1.5.0 now (it is being built now).  Do I need to 
> uninstall 1.4.1 before I "make install" 1.5.0?  If yes, how exactly?

Most likely, very little harm would come from just installing on top
of the old version. It does have the advantage of keeping previously
installed packages in place, but also the risk that some of them may
be broken with the new version.

Removing your current /usr/local/lib/R is a sure kill, but you could

mv /usr/local/lib/R /usr/local/lib/R-1.4.1
mv /usr/local/bin/R /usr/local/bin/R-1.4.1

And -- this is the important bit -- edit the /usr/local/bin/R-1.4.1
shell script and set R_HOME_DIR to the new location. This leaves the
old version runnable as "R-1.4.1" until you see fit to remove it.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
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

More information about the R-help mailing list