[R] Reading one column .csv file

darnold dwarnold45 at suddenlink.net
Wed Aug 15 23:11:21 CEST 2012


Peter,

Interesting. Never heard of copying from the clipboard. I am also on a
MacBook Pro, but I cannot get it to work. 

1. I selected the column of data (including the header) in Excel.

2. Selected Edit->Copy.

3. In R, tried:

> a <- read.delim("clipboard")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : clipboard cannot be opened or contains no text

4. I checked the clipboard. The data is there.

What am I missing?

D.




--
View this message in context: http://r.789695.n4.nabble.com/Reading-one-column-csv-file-tp4640396p4640429.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list