diff options
Diffstat (limited to 'kernlab.sh')
-rwxr-xr-x | kernlab.sh | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -52,13 +52,16 @@ if ! $R_DONE; then URI="http://cran.r-project.org/src/contrib/Archive/kernlab/kernlab_$KL_VER.tar.gz" cmd="$WGET $URI" && run_cmd "$cmd" "Download KL" cmd="$R CMD INSTALL kernlab_$KL_VER.tar.gz" && run_cmd "$cmd" "Install KL" - - URI="http://cran.r-project.org/src/contrib/pls_2.3-0.tar.gz" - cmd="$WGET $URI" && run_cmd "$cmd" "Download PLS" + + echo "Warning! If you already downloaded pls_2.3-0.tar.gz and robustbase_0.7-8.tar.gz from http://cran.r-project.org/src/contrib/ into $HOME/tmp/ press return, else <Ctrl+C> to stop installation." + read help_var2 + echo + #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 pls_2.3-0.tar.gz" && run_cmd "$cmd" "Install PLS" - URI="http://cran.r-project.org/src/contrib/robustbase_0.7-8.tar.gz" - cmd="$WGET $URI" && run_cmd "$cmd" "Download RB" + #URI="http://cran.r-project.org/src/contrib/00Archive/robustbase/robustbase_0.7-8.tar.gz" + #cmd="$WGET $URI" && run_cmd "$cmd" "Download RB" cmd="$R CMD INSTALL robustbase_0.7-8.tar.gz" && run_cmd "$cmd" "Install RB" fi |