[R-SIG-Mac] pasting from the clipboard

Robert Baer rb@er @ending from @t@u@edu
Wed Oct 3 15:22:17 CEST 2018


My memory is that  on the Mac

dat = read.table(file = pipe("pbpaste"), header = TRUE)      # should 
allow me to paste a dataframe copied from a spreadsheet into R.

When I try that in RStudio 1.1.456 with R 3.5.1 on OSX 10.13.1

I get the message:

   incomplete line found by readTableHeader on 'pbpaste'

Could anyone explain this message to me,  and more importantly, tell me 
the proper way to paste a dataframe copied to the clipboard from Excel 
on the Mac?


-- 


--
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A T Still University of Health Sciences
800 W. Jefferson St
Kirksville, MO 63501
660-626-2321 Department
660-626-2965 FAX



More information about the R-SIG-Mac mailing list