search for: run_arch

Displaying 2 results from an estimated 2 matches for "run_arch".

Did you mean: r_arch
2013 Apr 26
2
Transferring R to another computer, R_HOME_DIR
...pile on target machine) Cheers Saptarshi 1. I also realize Rscript will not work (i think path is hard coded in the source) Beginning of /usr/lib64/R/bin/R R_HOME_DIR=/usr/lib64/R if test "${R_HOME_DIR}" = "/usr/lib64/R"; then case "linux-gnu" in linux*) run_arch=`uname -m` case "$run_arch" in x86_64|mips64|ppc64|powerpc64|sparc64|s390x) libnn=lib64 libnn_fallback=lib ;; *) libnn=lib libnn_fallback=lib64 ;; esac if [ -x "/usr/${libnn}/R/bin/exec/R" ];...
2009 Oct 15
0
let R and Rscript infer paths from their own location (PR#14007)
...for bin/R) and set the other paths (such as R_HOME_DIR in bin/R) relative to these. The start of bin/R could look something like this: ---- if test -z "${R_HOME_DIR}"; then R_HOME_DIR=$(dirname $(readlink -f "$0"))/../lib/R fi case "linux-gnu" in linux*) run_arch=`uname -m` case "$run_arch" in x86_64|mips64|ppc64|powerpc64|sparc64|s390x) libnn=lib64 libnn_fallback=lib ;; *) libnn=lib libnn_fallback=lib64 ;; esac if [ -x "${R_HOME_DIR}/../../${libnn}/R/bin/exec/R"...