Re: [R] internet proxy settings (win)

From: Thomas Steiner <finbref.2006_at_gmail.com>
Date: Wed, 12 Mar 2008 10:46:35 +0100

Thanks Liviu, I am trying out what is proposed in the mentioned thread.

I start R by
"C:\Program Files\R\R-2.6.2\bin\Rgui.exe" http_proxy="
http://proxy.haifis.org:8080"

Then I do the following (selecting "Austria" as mirror)

> install.packages("package", method="wget")
--- Please select a CRAN mirror for use in this session --- Fehler in gzfile(file, "r") : kann Verbindung nicht öffnen Zusätzlich: Warning message:
In gzfile(file, "r") :
  cannot open compressed file
'C:\DOCUME~1\n301545\LOCALS~1\Temp\RtmpnsKQdi\file678418be', probable reason 'No such file or directory'
> setwd('C:\\DOCUME~1\\n301545\\LOCALS~1\\Temp\\RtmpnsKQdi')
> install.packages("package", method="wget")
Fehler in gzfile(file, "r") : kann Verbindung nicht öffnen Zusätzlich: Warning message:
In gzfile(file, "r") :
  cannot open compressed file
'C:\DOCUME~1\n301545\LOCALS~1\Temp\RtmpnsKQdi\file3d6c4ae1', probable reason 'No such file or directory'
> update.packages(ask='graphics')
Fehler: Indizierung außerhalb der Grenzen

Zusätzlich: Warning messages:
1: In read.dcf(file = tmpf) : Line starting '<html> ...' is malformed!
2: In read.dcf(file = tmpf) : Line starting '   <head> ...' is malformed!
3: In read.dcf(file = tmpf) : Line starting '</html> ...' is malformed!

> options(download.file.method="wget")
> update.packages(ask='graphics')
Fehler in gzfile(file, "r") : kann Verbindung nicht öffnen Zusätzlich: Warning message:
In gzfile(file, "r") :
  cannot open compressed file
'C:\DOCUME~1\n301545\LOCALS~1\Temp\RtmpnsKQdi\file5f906952', probable reason 'No such file or directory'

Obviously the update.packages does have access to internet, but has problems with the html tag. Who can help?

Thomas



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 12 Mar 2008 - 09:49:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Mar 2008 - 21:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive