diff options
author | mguetlein <martin.guetlein@gmail.com> | 2014-10-17 12:15:39 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2014-10-17 12:15:39 +0200 |
commit | 468929b42ead1e3e80040e28e0a549db67e8593d (patch) | |
tree | dac65b727b789c8a948e3fbc8eb42df06f74453a | |
parent | 498292b6c29f068d6297d8b1697ed4eb3614b006 (diff) | |
parent | 731a8dd7528c8159495a70753844db4a4011fba5 (diff) |
Merge branch 'development' of ssh://github.com/opentox/algorithm into development
-rwxr-xr-x | bin/algorithm-install | 1 | ||||
-rw-r--r-- | bin/packs.R | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/algorithm-install b/bin/algorithm-install index 9fbd253..6644366 100755 --- a/bin/algorithm-install +++ b/bin/algorithm-install @@ -81,6 +81,7 @@ fi if ! $R_DONE; then export R_LIBS="$R_DEST" # To install non-global + export CRAN_MIRROR="$R_MIRROR" # To install non-global cmd="$R CMD BATCH bin/packs.R" && run_cmd "$cmd" "R packages" fi diff --git a/bin/packs.R b/bin/packs.R index a4d61a0..c8196af 100644 --- a/bin/packs.R +++ b/bin/packs.R @@ -3,5 +3,5 @@ # set mirror to avoid questioning the user -options(repos=Sys.getenv("R_MIRROR")) +options(repos=Sys.getenv("CRAN_MIRROR")) install.packages(c("caret", "doMC", "e1071", "foreach", "iterators", "kernlab", "multicore", "plyr", "reshape", "randomForest", "RANN", "TunePareto"),lib=Sys.getenv("R_LIBS")) |