[R] upgrading to 1.5.0/uninstalling 1.4.1 on Linux

Patrick Connolly P.Connolly at hortresearch.co.nz
Thu May 2 23:20:49 CEST 2002

According to Peter Dalgaard BSA:
|> 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
|> also
|> 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.

Is that sufficient if R has been installed as a shared library?  It
would appear not in my experience.  I tried that suggestion, but R is
still referring to R-1.4.1 when I try to install the
R-1.5.0-recommended tar.gz files.

Does it mean I have to remove the R-1.4.1 before I start?


   ___      Patrick Connolly
 {~._.~}    HortResearch             Great minds discuss ideas;
 _( Y )_    Mt Albert                Average minds discuss events; 
(:_~*~_:)   Auckland                 Small minds discuss people.
 (_)-(_)    New Zealand                                    .... Anon
            Ph: +64-9 815 4200 x 7188

The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify 
the sender and delete all material pertaining to this e-mail.
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