Skip to content
Prev 85697 / 398506 Next

RHOME

Martin Maechler <maechler at stat.math.ethz.ch> writes:
Hmm, I was about to say the same, but there seems to be unexpected
references in other places.

find `R RHOME` | xargs grep `R RHOME`
/usr/lib64/R/bin/R:R_HOME_DIR=/usr/lib64/R
/usr/lib64/R/bin/R:R_SHARE_DIR=/usr/lib64/R/share
/usr/lib64/R/bin/R:R_INCLUDE_DIR=/usr/lib64/R/include
/usr/lib64/R/bin/R:R_DOC_DIR=/usr/lib64/R/doc

(this doesn't normally happen - a SUSE RPM specialty, or due to
configure flag settings?)


Once you start building packages, you also have things like

viggo:~/>find ~/Rlibrary | xargs grep `R RHOME`
Binary file /home/bs/pd/Rlibrary/rgl/libs/rgl.so matches


viggo:~/>find ~/Rlibrary | xargs grep Rlibrary
Binary file /home/bs/pd/Rlibrary/rgl/Meta/hsearch.rds matches
Binary file /home/bs/pd/Rlibrary/ISwR/Meta/hsearch.rds matches
Binary file /home/bs/pd/Rlibrary/mvtnorm/Meta/hsearch.rds matches
Binary file /home/bs/pd/Rlibrary/nlmeODE/Meta/hsearch.rds matches
B.....

on my laptop I had a hit on one of the Sweave support files too.

Most likely these are quite harmless, but all in all I think Martyn
has the safest advice: Use "make install", as root (don't forget
"umask 022").