From 826e9f775199113b4cc323e61f54da4275dcd805 Mon Sep 17 00:00:00 2001 From: davor Date: Mon, 12 Dec 2011 12:03:45 +0100 Subject: Removed static download url for r packages. They have to be downloaded manually (only temporarily). --- kernlab.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernlab.sh b/kernlab.sh index 582950f..7ab7af9 100755 --- a/kernlab.sh +++ b/kernlab.sh @@ -53,8 +53,11 @@ if ! $R_DONE; then 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 from http://cran.r-project.org/src/contrib/ into $HOME/tmp/ press return, else 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" fi -- cgit v1.2.3