Re: [R] Programmatically copying a graphic to the clipboard

2009-06-13 Thread Michael Lawrence
Possible using RGtk2. Just need to get it into a GdkPixbuf. See gtkClipboardSetImage(). To get a graphic as a pixbuf, you can use cairoDevice (drawing to a GdkPixmap and copying over), or output the graphic to a temporary file and read it back in. Michael On Fri, Jun 12, 2009 at 5:42 AM, Hadley W

[R] Programmatically copying a graphic to the clipboard

2009-06-12 Thread Hadley Wickham
Hi all, Is there a cross-platform way to do this? On the mac, I cando this by saving an eps file, and then using pbcopy. Is it possible on other platforms? Hadley -- http://had.co.nz/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman