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

2010-07-29 Thread Paul Murrell
Hi On 27/07/2010 7:49 a.m., rrich...@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::window

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

2010-07-26 Thread rrich...@fh-lausitz.de
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 functi