While faffing around in R I noticed that r is installed in two places on the system:
/usr/lib/R
/usr/lib64/R
Running diff
on the two directories results in no output, suggesting the two are identical. It’s not even the case that the /usr/lib64/R
directory is a sym-link to the other. It’s just a copy. I’ve checked the Arch Linux PKGBUILD for R, but this contains no reference the to /usr/lib64/R
directory.
Running Sys.getenv()
from inside R, reveals that both directories are in use:
-
R_HOME
->/usr/lib64/R
-
R_LIBS_SITE
->/usr/lib/R/library
On Manjaro ARM no second installation directory exists, and the aforementioned environmental variables are set to:
-
R_HOME
->/usr/lib/R
-
R_LIBS_SITE
->/usr/lib/R/library
On x86_64, shouldn’t it be the case that either the /usr/lib64/R
directory should not exist, or should be a sym-link to /usr/lib/R
?