[Rd] accessing windows clipboard from load and save (PR#4999)
Gabor Grothendieck
ggrothendieck at myway.com
Sat Nov 8 18:17:07 MET 2003
Regarding, loading a file from the clipboard, I had also posted
a workaround:
load(pipe("pclip"))
where pclip is from unxutils.sourceforge.net, although yours has
the advantage of not requiring external programs.
--- On Sat 11/08, Prof Brian Ripley < ripley at stats.ox.ac.uk > wrote:
zz <- file("clipboard", "r")
readLines(zz, 1)
.Internal(loadFromConn(zz, .GlobalEnv))
close(zz)
More information about the R-devel
mailing list