Re: [R] Gtk objects disappears

2009-06-14 Thread Olivier Nuñez
It woks fine. Thanks very much. Olivier -- Olivier G. Nuñez Email: onu...@iberstat.es Tel : +34 663 03 69 09 Web: http://www.iberstat.es El 14/06/2009, a las 4:30, Michael Lawrence escribió: I would recommend

Re: [R] Gtk objects disappears

2009-06-13 Thread Michael Lawrence
I would recommend 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 onu...@iberstat.es wrote: Dear John, I have a question. When I run a RGtk code in my terminal (without

[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 exit) But