summaryrefslogtreecommitdiff
path: root/kernlab.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-01-31 10:07:01 +0100
committerAndreas Maunz <andreas@maunz.de>2012-01-31 10:07:01 +0100
commit9282f0715873f96cf43c23261a808dc00fb78914 (patch)
tree3d3c21751d521ed82d40f581e7e17a62b1166c83 /kernlab.sh
parent2e53016f91abb5af7e9cd24f336fce5f121c92ae (diff)
Fixed R lib installcaret
Diffstat (limited to 'kernlab.sh')
-rwxr-xr-xkernlab.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernlab.sh b/kernlab.sh
index 2df0b8e..aad125d 100755
--- a/kernlab.sh
+++ b/kernlab.sh
@@ -46,10 +46,9 @@ fi
if ! $R_DONE; then
- cd $HOME/tmp
export R_LIBS="$R_DEST" # To install non-global
- options(repos="http://mirrors.softliste.de/cran") # set mirror to avoid questioning the user
- install.packages(c("caret", "doMC", "e1071", "foreach", "iterators", "kernlab", "multicore", "plyr", "reshape"))
+ cmd="$R CMD BATCH packs.R" && run_cmd "$cmd" "R packages"
+ eval "$cmd"
fi