From 8a96ad18794979ffbf41eda57fe7f6e62f7f16da Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Mon, 12 Dec 2011 12:04:08 +0100 Subject: Removed static download url for r packages. They have to be downloaded manually (only temporarily). --- kernlab.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/kernlab.sh b/kernlab.sh index 5263aca..e224a86 100755 --- a/kernlab.sh +++ b/kernlab.sh @@ -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 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 -- cgit v1.2.3