[R] Gtk objects disappears

2009-06-12 Thread Olivier Nuñez
Dear John, I have a question. When I run a RGtk code in my terminal (without using the R GUI) R --vanilla << "EOF" source("myRGtkcode.R") EOF the GTK objects do not remain on the screen. Until now, I "bypass" this problem using the following commands: require(tcltk) tkmessageBox("Press to exi

Re: [R] Gtk objects disappears

2009-06-14 Thread Olivier Nuñez
just running gtkMain(), so that GTK+ blocks R. Then you need your GUI to call gtkMainQuit() when it's time to kill R. On Fri, Jun 12, 2009 at 6:59 AM, Olivier Nuñez wrote: Dear John, I have a question. When I run a RGtk code in my terminal (without using the R GUI) R --vanilla &l