Skip to content

reinstalling R

2 messages · Peter Dalgaard, Andrea Rossetti

#
Andrea Rossetti <rossetti at stud.unipg.it> writes:
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.
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
#
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 ?
If yes where are located them?
Thanks!

Andrea. 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._