[R] read.csv in R 1.7.1 for MacOS

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Nov 22 08:29:25 CET 2005


On Mon, 21 Nov 2005, Juan Pablo Romero wrote:

> I'm stuck with some notebooks having MacOS 10.2.8.
>
> After trying R-2.2.0 (which won't run), I had to settle with R 1.7.1,
> which runs fine.

Which version of R 1.7.1 is this?  The Classic MacOS version, I guess.
If you go to the link labelled `MacOS X (10.2.x and above)' you will see
R 2.0.1 there for MacOS X 10.2+.

> The problem is this:
>
> I have a csv file in a web server, which I'd wish to be able to load with
>
> d <- read.csv("http://server/path/cuestionario.csv")
>
> Unfortunately it doesn't work in R 1.7.1 / Mac, although the help page
> says it should.

What does `it doesn't work' mean?

> ¿There is some other way to load remote files?

Yes, e.g. loadURL().  I think you mean to read in a remote CSV file,
which you may be able to do via download.file.

> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

PLEASE do, and give us the information it asks for which we need to be 
able to help you.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list