[R] Odp: Trouble with read.table(clipboard)

David Winsemius dwinsemius at comcast.net
Tue Dec 1 14:08:53 CET 2009


On the Mac, reading from the the clipboard is:
pipe("pbpaste")
... and writing to the clipboard:
pipe("pbcopy", "w")
?pipe
--  
David
On Dec 1, 2009, at 6:43 AM, Petr PIKAL wrote:

> Hi
>
> did you put your spreadsheet to the clipboard? I  am not sure if trick
> with Ctrl-C followed by read.delim("clipboard") functions in Mac so  
> maybe
> you will need to try some more elaborated procedure which was  
> suggested
> several times here and I believe is also mentioned in Data import/ 
> export
> manual.
>
> Regards
> Petr
>
> r-help-bounces at r-project.org napsal dne 01.12.2009 12:29:24:
>
>> Hi every one,
>> I'm having some problems with the function read.table(clipboard). I  
>> got
> a
>> spread sheet in the Excel, and than I make a command+C in the Mac,  
>> but
> the R
>> returns the message that there is no object in the clipboard.
>> What could have happened?
>>
>> Thanks,
>> Diogo
>>
>>   [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> 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.
>
> ______________________________________________
> 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list