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? //M
SetInternet2, RCurl and proxy
3 messages · moleps, Brian Ripley
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
I know that the proxy usually can be found in internet explorer..However the hospital IE version has been altered so that nothing is visible. And the IT dept is not very keen on revealing the proxy settings. On Mon, Jan 31, 2011 at 2:08 PM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
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