[R] Uploading CSV file into R

peter dalgaard pdalgd at gmail.com
Fri May 13 08:34:43 CEST 2011


On May 13, 2011, at 05:57 , Me wrote:

> Sorry if I don't know all the vocabulary. I'm taking a research methods class
> that uses R, but I'm a journalism major, so I'm not very good with a lot of
> computer jargon.
> 
> The read.csv operator didn't work. I got the following error message:
> Error in file(file, "rt") : cannot open the connection
> In addition: Warning message:
> In file(file, "rt") :
>  cannot open file 'Downloads/UNdata_Export_20110511_130705015.csv': No such
> file or directory
> 

You need to download the file from the website to your own computer and use the name and location of that file. You can't read the file off of _my_ hard disk!

(Go to the web site, click Download and select comma separated values.)

-p

> 
> Thanks again if anyone can help.
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Uploading-CSV-file-into-R-tp3515237p3519286.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list