The R Project SVN R

Rev

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

Rev 52144 Rev 52146
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
  *)
-
 
6
  ## quote each argument here, unquote in R code.
-
 
7
  args="${args}nextArg${1}"
5
  args="${args}nextArg${1}"
8
  ;;
-
 
9
  esac
-
 
10
  shift
6
  shift
11
done
7
done
12
 
8
 
13
## NB: Apple's ICU needs LC_COLLATE set when R is started.
9
## NB: Apple's ICU needs LC_COLLATE set when R is started.
14
echo 'tools:::.build_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --slave --args ${args}
10
echo 'tools:::.build_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --slave --args ${args}