[Rd] HowTo get callback on destroy of grDevices::windows()

From: <rrichte2_at_fh-lausitz.de>
Date: Mon, 26 Jul 2010 21:49:00 +0200

  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?

My workarround is to check continues the open windows with the tcl command after, but it's no good workarround.


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 26 Jul 2010 - 20:16:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 30 Jul 2010 - 09:40:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive