Rev 48160 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#!@R_SHELL@## ${R_HOME}/bin/Rcmd## Shell script wrapper for all R CMD commands.## For internal use only.R_CMD="${R_HOME}/bin/Rcmd"export R_CMDR_VERSION=@PACKAGE_VERSION@export R_VERSIONR_OSTYPE="unix"export R_OSTYPE## Add 'share/perl' to the perl library path.if test -n "${PERL5LIB}"; thenPERL5LIB="${R_SHARE_DIR}/perl:${PERL5LIB}"export PERL5LIBelsePERLLIB="${R_SHARE_DIR}/perl:${PERLLIB}"export PERLLIBfi## Append 'share/texmf' to TeX's input search path.if test -n "$TEXINPUTS}"; thenTEXINPUTS=".:${R_SHARE_DIR}/texmf:"elseTEXINPUTS=".:${TEXINPUTS}:${R_SHARE_DIR}/texmf:"fiexport TEXINPUTS. "${R_HOME}/etc${R_ARCH}/Renviron"export `sed 's/^ *#.*//; s/^\(.*\)=.*/\1/' "${R_HOME}/etc${R_ARCH}/Renviron"`case "${1}" inperl)cmd="${PERL}" ;;awk)cmd="${AWK}" ;;*)if test -x "${R_HOME}/bin/${1}"; thencmd="${R_HOME}/bin/${1}"elsecmd="${1}"fi;;esacshiftexec "${cmd}" "${@}"### Local Variables: ***### mode: sh ***### sh-indentation: 2 ***### End: ***