[R] HowTo get callback on destroy of grDevices::windows()
Duncan Murdoch
murdoch.duncan at gmail.com
Mon Jul 26 21:42:15 CEST 2010
On 26/07/2010 3:09 PM, rrichte2 at fh-lausitz.de wrote:
> I'm build with the usage of the tcltk/tcltk2 package a gui which is
> started with rscript.exe. At this gui the user is able to open and close
> plot windows.
>
> Now I'm looking for a way that a r function is called when a
> grDevices::windows window is closed.
> Is there a way to attach a callback function or so, which would be
> triggert if the user click at close of the grDevices::window?
>
I don't know if that's possible, but you'll be more likely to get a
definitive answer on the R-devel list.
Duncan Murdoch
> My workarround is to check continues the open windows with the tcl
> command after, but it's no good workarround.
>
> thanks
> roland
>
> ______________________________________________
> 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