diff options
author | ot1 <andreas@maunz.de> | 2011-11-30 08:52:54 +0100 |
---|---|---|
committer | ot1 <andreas@maunz.de> | 2011-11-30 08:52:54 +0100 |
commit | 7d7a277cd3c2a56a044aa5364c3a651e03a60652 (patch) | |
tree | 470b6a896a2826975f83a0dc8361e3b4cfafd771 | |
parent | 65d2d0a3cb4686ffd2d4c5bda6a353ad1d988f53 (diff) |
Supporting MLR install
-rwxr-xr-x | kernlab.sh | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -45,13 +45,17 @@ else fi -if ! $R_DONE; then +if $R_DONE; then cd $HOME/tmp + export R_LIBS="$KL_DEST" # To install non-global + URI="http://cran.r-project.org/src/contrib/Archive/kernlab/kernlab_$KL_VER.tar.gz" - cmd="$WGET $URI" && run_cmd "$cmd" "Download" + cmd="$WGET $URI" && run_cmd "$cmd" "Download KL" + cmd="$R CMD INSTALL kernlab_$KL_VER.tar.gz" && run_cmd "$cmd" "Install KL" - export R_LIBS="$KL_DEST" # To install non-global - cmd="$R CMD INSTALL kernlab_$KL_VER.tar.gz" && run_cmd "$cmd" "Install" + URI="http://cran.r-project.org/src/contrib/pls_2.3-0.tar.gz" + cmd="$WGET $URI" && run_cmd "$cmd" "Download PLS" + cmd="$R CMD INSTALL kernlab_$KL_VER.tar.gz" && run_cmd "$cmd" "Install PLS" fi |