[R] reinstalling R

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Dec 22 00:24:16 CET 1998


Andrea Rossetti <rossetti at 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 at butterfly R]$ which R                     
/usr/local/bin/R
[pd at 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 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