[R] cygwin clipboard
Abby Spurdle
@purd|e@@ @end|ng |rom gm@||@com
Thu May 23 02:57:27 CEST 2019
> I'd like to be able to access the windows clipboard from R under Cygwin.
> Is this supported in any way? Thanks
Hi Ed
You can access the Windows clipboard under Cygwin.
I ran R within Cygwin.
I was able to use read.table (file="clipboard") for both plain text and
Excel tables.
> #table copied from excel
> tbl = read.table (file="clipboard", TRUE)
> tbl
A B C D
1 1 5 9 13
2 2 6 10 14
3 3 7 11 15
4 4 8 12 16
Note that when copying plain text you may need to include a final newline
character.
The X11() message is suspicious.
I'm wondering what type of object you're trying to copy...?
Abs
[[alternative HTML version deleted]]
More information about the R-help
mailing list