behave
2011-Aug-29 13:23 UTC
[R] Configuring Proxy: Proxy Authentication Required with --internet2
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 -- View this message in context: http://r.789695.n4.nabble.com/Configuring-Proxy-Proxy-Authentication-Required-with-internet2-tp3776209p3776209.html Sent from the R help mailing list archive at Nabble.com.
Duncan Murdoch
2011-Aug-29 15:49 UTC
[R] Configuring Proxy: Proxy Authentication Required with --internet2
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 appreciatedWhen 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