Skip to content

internet2 and proxies

2 messages · Strumila, John, Brian Ripley

#
gday R gurus,

I've never attempted to use download.file before on my win2k machine but
this version 1.4 looks exciting.  However, I'm not getting something right.

I've passed my R shortcut --internet2 and I can tell it's using the wininet
calls because it's asking about authentication but how do I tell it my
username/password?

The help file only talks about user/pw for non wininet and I've searched
cran.  I thought wininet should prompt me via a dialog box.  I'm running
ie5.

thanks,
John Strumila
+ install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a)}
trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"),  : 
        cannot open: HTTP status was `407 Proxy Authentication Required'
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 7 Jan 2002, Strumila, John wrote:

            
Actually, it's unchanged for a while.
You thought wrong: that's not what it is documented (by Microsoft) to do.
Where did that idea come from?
There is an alternative method if you have Internet Explorer 4 or
  later installed.   You can use the flag \code{--internet2}, when
  the `Internet Options' of the system are used to choose proxies and so
  on; these are set in the Control Panel and are those used for Internet
  Explorer.  This version does not support \code{cacheOK = FALSE}.

Clear enough?  This worked for people under 1.3.1, and we've had not
contrary reports for 1.4.0.