Re: [R] cygwin clipboard

2019-05-23 Thread Duncan Murdoch
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 b

Re: [R] cygwin clipboard

2019-05-22 Thread Abby Spurdle
> 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

Re: [R] cygwin clipboard

2019-05-22 Thread peter dalgaard
What Duncan says, but in case you are feeling adventurous or have strong reasons to be in the Cygwin parallel universe, notice that the error indicates that R is loooking for an X11 display. So, at a minimum, you need to have (a) an X11 display server running (b) R setup so that it knows how t

Re: [R] cygwin clipboard

2019-05-21 Thread Duncan Murdoch
On 21/05/2019 10:55 a.m., Ed Siefker wrote: I'd like to be able to access the windows clipboard from R under Cygwin. But... read.table(file="clipboard") Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : unable to contact X11 display

Re: [R] cygwin clipboard

2019-05-21 Thread Jeff Newmiller
I think the "clipboard" filename is handled in the Windows build of R. I don't use the cygwin build of R, so I can't test, but Googling "cygwin clipboard" finds references to "/dev/clipboard" implemented by cygwin independent from R. I can't let the opportunity pass to strongly recommend avoidin

Re: [R] cygwin clipboard

2019-05-21 Thread Ivan Krylov
On Tue, 21 May 2019 09:55:21 -0500 Ed Siefker wrote: > I'd like to be able to access the windows clipboard from R under > Cygwin. Searching for "cygwin windows clipboard" offers reading from and writing to /dev/clipboard as a file and getclip.exe / putclip.exe from cygutils-extra package[*] whic

[R] cygwin clipboard

2019-05-21 Thread Ed Siefker
I'd like to be able to access the windows clipboard from R under Cygwin. But... > read.table(file="clipboard") Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : unable to contact X11 display > Is this supported in any way? Thanks -Ed