[R] SetInternet2, RCurl and proxy

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jan 31 14:08:35 CET 2011


On Mon, 31 Jan 2011, moleps islon wrote:

> Dear all,
>
> Using the SetInternet2(TRUE) option works wonders with R in my sealed
> down work-environment. However, I'd like to use RCurl and apparently
> the proxy settings are not carried over. Is it possible to figure out
> the proxy-IP and port number from R after invoking SetInternet2?

No, but it should be from your browser: all SetInternet2 does is to 
switch to use Internet Explorer internals.  cURL (and hence RCurl) 
knows nothing about IE's settings.

Note that if all you need is the proxy details, then you don't need 
SetInternet2: see ?download.file.  However, many sites need to 
authenticate to the proxy ....

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list