[R] R-2.6.0 - packages installation through a proxy - not working

Liviu Andronic landronimirc at gmail.com
Tue Oct 16 17:41:25 CEST 2007


On 10/16/07, Scionforbai <scionforbai at gmail.com> wrote:
> I would start R with the command:
>
> http_proxy="http://SERVER:3128" R
>
> and then from R I would try:
>
> install.packages("Rcmdr", dep = TRUE, method = "wget")

> install.packages("Rcmdr", dep = TRUE, method = "wget")
--- Please select a CRAN mirror for use in this session ---
Warning in open.connection(file, "r") :
  unable to connect to 'cran.r-project.org' on port 80.
Error in open.connection(file, "r") : unable to open connection
Warning: closing unused connection 3
(http://cran.r-project.org/CRAN_mirrors.csv)
--17:37:13--  http://umfragen.sowi.uni-mainz.de/CRAN/src/contrib/Rcmdr_1.3-5.tar.gz
           => `/tmp/RtmpooFuQv/downloaded_packages/Rcmdr_1.3-5.tar.gz'
[..]
Proxy request sent, awaiting response... 200 OK
Length: 1,126,032 (1.1M) [application/x-tar]

It still spitted out an error, but it worked. Thank you.

Liviu



More information about the R-help mailing list