[R] internet proxy settings (win)

Thomas Steiner finbref.2006 at gmail.com
Wed Mar 12 10:46:35 CET 2008


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



More information about the R-help mailing list