Rev 51076 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# ${R_HOME}/bin/INSTALL -*- sh -*- for installing add-on packagesif test -z "${R_INSTALL_VANILLA}"then vanilla_install=falseelse vanilla_install=truefi## Note: Almost all "--<args>" are now handled in R !args=while test -n "${1}"; docase ${1} in--no-vanilla)vanilla_install=false ;;--use-vanilla)vanilla_install=true ;;*)## quote each argument here, unquote in R code.args="${args}nextArg${1}";;esacshiftdoneRcmds=if [ $vanilla_install = true ]then ## get the user's .libPaths()[1]:args="${args}nextArg--maybe-get-user-libPaths"myArgs='--vanilla'else myArgs='--no-restore'fi## NB: Apple's ICU needs LC_COLLATE set when R is started.echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --no-echo --args ${args}