[R] source and localhost

From: <Thomas.Bock_at_ptb.de>
Date: Fri, 20 May 2011 17:22:51 +0200

Dear List,

I have problems with the function source() using a url of the kind:


I receive

Fehler in file(file, "r", encoding = encoding) :   kann Verbindung nicht öffnen
Zusätzlich: Warnmeldung:
In file(file, "r", encoding = encoding) :   Öffnen fehlgeschlagen: HTTP Status war '502 cannotconnect'

The url itself is ok since I can:

- use a browser
- use curl
- use download.file() function
- use getURL() (out of Duncans RCurl)

furthermore it works, when I use the full host + domain name. So I think it is about dns stuff. I get a nice:

> Sys.getenv("no_proxy")

[1] "localhost,"

and work on 32bit opensuse 11.4 with
R version 2.13.0 (2011-04-13)

Can someone give me a hint?
Best regards

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 Fri 20 May 2011 - 15:26:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Mon 23 May 2011 - 11:10:09 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