[R-SIG-Mac] Clipboard problems

Reijo Sund reijo.sund at helsinki.fi
Wed Sep 3 14:17:14 CEST 2014


> The standard advice for reading the clipboard on OSX is to use the
> pipe("pbpaste") connection, but I'm finding it misses the last line.

How about using tcltk?

if (require("tcltk")) strsplit(tclvalue(tcl("clipboard","get")),"\n")[[1]]



More information about the R-SIG-Mac mailing list