The R Project SVN R

Rev

Blame | Last modification | View Log | Download | RSS feed

# ${R_HOME}/bin/build -*- sh -*- for installing add-on packages

args=
while test -n "${1}"; do
  case ${1} in
    --no-vanilla)
      vanilla_install=false ;;
    --use-vanilla)
      vanilla_install=true ;;

  *)
  ## quote each argument here, unquote in R code.
  args="${args}nextArg${1}"
  ;;
  esac
  shift
done

## NB: Apple's ICU needs LC_COLLATE set when R is started.
echo 'tools:::.build_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}