On 16-08-2012, at 06:06, darnold wrote: > Tried that already. > > My clipboard: > > x > 2 > 3 > 4 > 5 > > My attempt: > >> a <- read.delim(pipe("pbpaste")) > Warning message: > In read.table(file = file, header = header, sep = sep, quote = quote, : > incomplete final line found by readTableHeader on 'pbpaste' > > And again: > >> a <- read.delim(pipe("pbpaste"),header=TRUE) > Warning message: > In read.table(file = file, header = header, sep = sep, quote = quote, : > incomplete final line found by readTableHeader on 'pbpaste' > > Suggestions? >
It's a warning message not an error. It tells you that the final line does not end with a newline character. That's Excel's fault. After a <- read.delim(....) just inspect a with a It's probably ok. Berend ______________________________________________ R-help@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.