[R] Gtk objects disappears

Olivier Nuñez onunez at iberstat.es
Sun Jun 14 10:45:02 CEST 2009


It woks fine.
Thanks very much.
Olivier
--   
____________________________________

Olivier G. Nuñez
Email: onunez at 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 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 <onunez at iberstat.es>  
> wrote:
> 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 it is not really satisfactory and the tcltk Box cannot be
> minimized (at least in Mac OSX).
>
> Any idea?
>
> Best regards. Olivier
>
>
> --
> ____________________________________
>
> Olivier G. Nuñez
> Email: onunez at iberstat.es
> Tel : +34 663 03 69 09
> Web: http://www.iberstat.es
>
> ____________________________________
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>




More information about the R-help mailing list