summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2014-10-09 15:17:59 +0200
committerdavor <vorgrimmlerdavid@gmx.de>2014-10-09 15:17:59 +0200
commitb991abd03e726a06d0e807a750acbc5162335e94 (patch)
tree94203126fe5e937c3e1ccd62b967f45ea8c6702c
parent7173d52d7c6e476c476b1eebbb46ada3ade4454e (diff)
Use system variable for R mirror.
-rw-r--r--bin/packs.R5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/packs.R b/bin/packs.R
index de706e4..a4d61a0 100644
--- a/bin/packs.R
+++ b/bin/packs.R
@@ -1,6 +1,7 @@
# CRAN package installer for opentox-ruby
-# AM, 2012
+# AM/ DV, 2014
+
# set mirror to avoid questioning the user
-options(repos="http://mirrors.softliste.de/cran")
+options(repos=Sys.getenv("R_MIRROR"))
install.packages(c("caret", "doMC", "e1071", "foreach", "iterators", "kernlab", "multicore", "plyr", "reshape", "randomForest", "RANN", "TunePareto"),lib=Sys.getenv("R_LIBS"))