Re: [R] reinstalling R

Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
22 Dec 1998 00:24:16 +0100

To: Andrea Rossetti <rossetti@stud.unipg.it>
Subject: Re: [R] reinstalling R
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 22 Dec 1998 00:24:16 +0100
In-Reply-To: Andrea Rossetti's message of Tue, 22 Dec 1998 23:43:31 +0100

Andrea Rossetti <rossetti@stud.unipg.it> writes:

> Hi,
> My question is: if I want to recompile and reinstall a newer version of R
> under linux, must I remove the old binaries previously installed ?

This can happen. The default location of $RHOME has been changed at
some point (was /usr/local/share/R, now /usr/local/lib/R), or you may
have explicitly set it otherwise. If the location of $RHOME and the
startup script is unchanged, then I wouldn't expect problems, but it
should do no harm to delete them first in either case - but note that
this might kill add-on packages as well.

> If yes where are located them?

Where you put them... ;)

Seriously:

[pd@butterfly R]$ which R
/usr/local/bin/R
[pd@butterfly R]$ more `!!`
more `which R`
#!/bin/sh
# Shell wrapper for R executable.

RHOME=/usr/local/lib/R
export RHOME
...

If the startup script is gone, consider something like

find /usr -name R -prune

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


This archive was generated by hypermail 1.02.