...
>
> As Uwe told you, it is not source(), it is file().
>
> Please read the documentation for yourself.
ok; done!
?file links to ?download.file().
here one can read, that the proxy (and I guess the no_proxy)
have to be specified via environment variables. As I showed in my
initial mail 1) the
"localhost" is the computer you are working at, and the ip assigned to the
loob-back interface. This is normally used for testing networking interfaces.
That being so, simply using the path to the file on your machine, e.g.
"/home//data/somedata.csv" should work much better.
JWD
Thomas,
your example works with R-2.13.0 and Apache running on
Gentoo. You may try to use "http://127.0.0.1:5984/path/fn.R";,
just to exclude that this problem has anything to do with
name resolution.
Best
Hugo
> Dear List,
>
> I have problems with the function source() using a
> url of the k
>
>
> On 20.05.2011 17:22, thomas.b...@ptb.de wrote:
> > Dear List,
> >
> > I have problems with the function source() using a
> > url of the kind:
> >
> > http://localhost:5984/path/fn.R
>
> Does
>
> con <- url("http://localhost:5984/path/fn.R";)
> source(url)
> close(con)
>
> work for you?
N
On Fri, 20 May 2011, Uwe Ligges wrote:
On 20.05.2011 17:22, thomas.b...@ptb.de wrote:
Dear List,
I have problems with the function source() using a
url of the kind:
http://localhost:5984/path/fn.R
Does
con <- url("http://localhost:5984/path/fn.R";)
source(url)
close(con)
work for you?
On 20.05.2011 17:22, thomas.b...@ptb.de wrote:
Dear List,
I have problems with the function source() using a
url of the kind:
http://localhost:5984/path/fn.R
Does
con <- url("http://localhost:5984/path/fn.R";)
source(url)
close(con)
work for you?
Please read ?source carefully and note it
Dear List,
I have problems with the function source() using a
url of the kind:
http://localhost:5984/path/fn.R
I receive
Fehler in file(file, "r", encoding = encoding) :
kann Verbindung nicht öffnen
Zusätzlich: Warnmeldung:
In file(file, "r", encoding = encoding) :
Öffnen fehlgeschlagen: H
7 matches
Mail list logo