Clipboard problems
On 03 Sep 2014, at 14:29, peter dalgaard <pdalgd at gmail.com> wrote:
This works, presumably because text connections are not non-blocking:
readLines(textConnection(system("pbpaste",intern=TRUE)))
[1] "line 1" "line 2" "line 3?
or the following should also work on each OSX
readLines(pipe("pbpaste|awk 1?))
Cheers,
Hans
******************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6 phone: +49 (0) 341 3550 341
D-04103 Leipzig fax: +49 (0) 341 3550 333
Germany e-mail: bibiko [at] eva.mpg.de