The R Project SVN R

Rev

Rev 52141 | Rev 52146 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52141 Rev 52144
Line 1... Line 1...
1
# ${R_HOME}/bin/build -*- sh -*- for installing add-on packages
1
# ${R_HOME}/bin/build -*- sh -*- for installing add-on packages
2
 
2
 
3
args=
3
args=
4
while test -n "${1}"; do
4
while test -n "${1}"; do
5
  case ${1} in
-
 
6
    --no-vanilla)
-
 
7
	  vanilla_install=false ;;
-
 
8
    --use-vanilla)
-
 
9
	  vanilla_install=true ;;
-
 
10
 
-
 
11
  *)
5
  *)
12
  ## quote each argument here, unquote in R code.
6
  ## quote each argument here, unquote in R code.
13
  args="${args}nextArg${1}"
7
  args="${args}nextArg${1}"
14
  ;;
8
  ;;
15
  esac
9
  esac
16
  shift
10
  shift
17
done
11
done
18
 
12
 
19
## NB: Apple's ICU needs LC_COLLATE set when R is started.
13
## NB: Apple's ICU needs LC_COLLATE set when R is started.
20
echo 'tools:::.build_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}
14
echo 'tools:::.build_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --slave --args ${args}