Re: [R] a way to interrupt a stuck R session on OSX

2008-01-13 Thread Josh Tolley
On Jan 13, 2008 8:02 PM, Day, Roger S. <[EMAIL PROTECTED]> wrote: > Discovered by accident: > > If your R session has become unresponsive to escape presses etcetera, > you can try this. > Open a terminal window, run the command > > ps -ax | grep R.app > > Note the process ID number in the first col

Re: [R] Graphics device storable in a variable

2007-11-15 Thread Josh Tolley
On Nov 15, 2007 2:41 PM, Michael Lawrence <[EMAIL PROTECTED]> wrote: > This is possible using the cairoDevice package and RGtk2. > > Turning an R graphic into a raw vector of bytes: > > library(cairoDevice) > library(RGtk2) > > # create a pixmap and tell cairoDevice to draw to it > > pixmap <- gdkP

[R] Graphics device storable in a variable

2007-11-15 Thread Josh Tolley
I'm using R embedded in PostgreSQL (via PL/R), and would like to use it to create images. It works fine, except that I have to create every image in a file (owned by and only readable by the PostgreSQL server), and then use PostgreSQL to read from that file and return it to the client. It would be