[R] cygwin clipboard
murdoch@dunc@n @end|ng |rom gm@||@com
Thu May 23 11:08:27 CEST 2019
On 22/05/2019 8:57 p.m., Abby Spurdle wrote:
> > 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...?
I think Ed was running the Cygwin build of R. Cygwin can run the
Windows build of R, and it sounds as though that's what you did (and
what Ed should do.)
More information about the R-help