[R] Udpate R under a proxy

Liaw, Andy andy_liaw at merck.com
Fri Apr 20 19:00:35 CEST 2007


This is what I just tried (thanks, Dirk!):

Start R and then Sys.putenv("http_proxy", "whatever"), options(download.file.method="wget") doesn't work.

Open up a command prompt, define http_proxy there, then run Rgui.  Set options(download.file.method="wget").  This works.

Perhaps you can define http_proxy in Renviron.  I have not tried that.

Andy 

From: justin bem
> 
> dear all,
> 
> I get internet via a proxy server when I try to
> downlaod package it always fail. Even when i add and
> environnment variable for the http proxy server. I use
> windows XP SP2
> 
> Sincerly
> 
> Justin BEM
> Elève Ingénieur Statisticien Economiste
> BP 294 Yaoundé.
> Tél (00237)9597295.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}



More information about the R-help mailing list