R/R.sh

4 lines
153 B
Bash

# Some R modules are not smart enough to ask R for the value of RHOME
# and instead depend on the R_HOME environment variable.
export R_HOME="`R RHOME`"