Skip to content

update.packagesl (method=internal) on Windows

8 messages · M. Edward (Ed) Borasky, Dirk Eddelbuettel, Dieter Menne +1 more

#
Congratulations,

Rhanks a lot to all those working on 1030. Installing
a new version R is one of the better excuses to stop
REAL work. Not to speak of new "lattice" version.

On my platform (Win2000, Internet Explorer via Proxy), I could
not get the new default method of "internal" to work. The manual
says that the settings from Internet Explorer are used,
but no connection (dial-up ADSL) is established, error message
return immediately.

update.packages()
trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
unable to resolve 'cran.r-project.org'.
Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"),  :
        cannot open URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'


The old wget-method works, the proxy line in wget.cfg is

http_proxy = http://192.168.0.1:3128


And... sorry to say.... I am missing the old function.htlm.
Having everything together really important for browsing, the
search function is too limited for a fast overview.

Dieter Menne

----------------
platform i386-pc-mingw32
arch     x86
os       Win32
system   x86, Win32
status
major    1
minor    3.0
year     2001
month    06
day      22
language R

---------------------------------------
Dr. Dieter Menne
Biomed Software
72074 T?bingen
Tel (49) (7071) 52176
FAX (49) (7071) 55 10 46
dieter.menne at menne-biomed.de
www.menne-biomed.de

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 Sun, 24 Jun 2001, Dieter Menne wrote:

            
What manual?  Do you mean the help page?

Read the CHANGES file and switch to internet2.dll.  Sorry, the docs
got left one step behind when late in the day I switched the defaults.
It will not open an Internet connection.  The following saying that your
DNS is not finding the site.  I suspect you need to open a connection
first.  Personally I detest programs that make connections without asking.
Don't expect too much: an awful lot of this part of Windows does not work
as documented on Windows 2000.  You should be able to switch to
internet2.dll and make use of your proxies.  However, I changed away from
that last week as on a very flaky connection, it was a lot less reliable.
#
Dear Prof. Ripley,
download.file help page
The proxy (on the same computer) handles the connection. I suspect "internal"
does not know the tcp/ip address of my proxy, which I explicitely setfor wget.
Any chance to set is manually?
Could nor find any info how to "switch". InternetX.dll are in modules folder,
should one of these be copied to bin? Or renamed?

Dieter Menne

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 Sun, 24 Jun 2001, Prof Brian Ripley wrote:

            
I had no trouble with "install.packages" with my normal ISP at *home*, but there
are quite a few simple things that don't work when you're behind a proxy server
on Windows 2000. I've never been able to get R *or* the ActiveState Perl
Package Manager to go through the proxy server where I work and automatically
download files. Part of it has to do with the way proxy servers can be
configured to protect you and your employer :-). I usually download what I want
manually, which *does* work, and then install manually as well. It's really for
your own good, you know ... isn't it nice that your employer protects you from
that nasty old Internet? :-)
--
znmeb at aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb

Never play leapfrog with a unicorn.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
MEB> *or* the ActiveState Perl Package Manager to go through the
  MEB> proxy server where I work and automatically download files. Part of it

Works for me with three environment variables for a) the proxie, b) the
username and c) the password for authentication. All faily well documented in
the ActiveState docs that ship with ActivePerl.
#
On Sun, 24 Jun 2001, Dieter Menne wrote:

            
CHANGES says

The default internet module modules\internet.dll is built using basic
WinSock calls.  There is an alternative modules\internet2.dll which uses
WinInet calls (and so needs Internet Explorer installed) which can be
used as a replacement.

so what is the difficulty?
#
"Can be used" == "I must explicitely switch to"

Expecting something like

  download.file(..., module="internet2.dll")
or
  options(imodule="internet2.dll")


Dieter Menne
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
If you read all of what I actually quote rather that snip bits out of
context and compare them with things you were `expecting', you will
be less confused.
On Mon, 25 Jun 2001, Dieter Menne wrote:
[Important omission here, not just who and what you are quoting.]