[R] problems with clipboard

Jamie.lannister mp248 at le.ac.uk
Tue Apr 28 18:31:14 CEST 2009


Hi I'm a mac user. I have problems loading data from mac excel in R.
I'm using these script:
>library(utils)
>data2 <- read.table(file("clipboard"), header =T, sep ="\t")
____but this is the message that I have from R_____
Error in open.connection(file, "r") : cannot open the connection
In addition: Warning message:
In open.connection(file, "r") :
  clipboard cannot be opened or contains no text

More complicate then that is that sometimes it works sometimes no....... 
I'm very confuse.... any help?

Jamie
-- 
View this message in context: http://www.nabble.com/problems-with-clipboard-tp23280578p23280578.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list