[R] Configuring Proxy: Proxy Authentication Required with --internet2
Duncan Murdoch
murdoch.duncan at gmail.com
Mon Aug 29 17:49:09 CEST 2011
On 29/08/2011 9:23 AM, behave wrote:
> Hi there
>
> I'm trying to configure R to get access to the internet.
> Using the Internet Explorer a proxy .pac script is used.
>
> Reading some older threads I found that I can use the --internet2 option.
> When choosing a mirror I get the error: "407 Proxy Authentication Required".
>
> This seems reasonable since I have to log in when using the IE as well. But
> where do I enter username and password in R?
>
> Sys.setenv(http_proxy_user="ask") or Sys.setenv(http_proxy_user="ask") does
> not help. (And is not needed for the internet2 option as far as I am
> informed)
>
> Any help appreciated
When using --internet2, all of the http work is handled by IE. So you
need to find a way to tell IE to handle the authentication.
I'd guess that starting an instance of IE would do it for you, but I
don't use a proxy, so I can't try.
Duncan Murdoch
More information about the R-help
mailing list