R Installation under Red Hat Enterprise Linux / Oracle Linux

Under Red Hat Enterprise Linux / Oracle Linux, R is installed in different paths. This is not customizable.

The R executable is located in /usr/bin/ instead of /opt/R/<version>/bin/ and the R libraries are located in /usr/lib64/R instead of /opt/R/<version>/lib/R.

This requires that the following lines must be added to the file /etc/ld.so.conf:

RHEL/Oracle 8

  • /opt/R/<version>/lib/R/lib /opt/R/<version>/lib/R/library/RInside/lib Add the path to the PATH environment variable /opt/R/<version>/bin/.