The R Project SVN R

Rev

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

Rev 47574 Rev 48050
Line 1... Line 1...
1
#
1
#
2
# ${R_HOME}/bin/INSTALL for installing add-on packages
2
# ${R_HOME}/bin/INSTALL for installing add-on packages
3
 
3
 
4
## FIXME: this loses quotes, so filepaths with spaces in get broken up
4
## quote each argument here, unquote in R code.
-
 
5
args=
-
 
6
while test -n "${1}"; do
-
 
7
  args="${args}nextArg${1}"
-
 
8
  shift
-
 
9
done
5
 
10
 
6
## NB: Apple's ICU needs LC_COLLATE set when R is started.
11
## NB: Apple's ICU needs LC_COLLATE set when R is started.
7
echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --no-restore --slave --args $@
12
echo 'tools:::.install_packages()' | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" --no-restore --slave --args ${args}
8
 
-