[Rd] Sending signals to current R process from R running under MS Windows (c.f. Esc)

From: Graham Williams <Graham.Williams_at_togaware.com>
Date: Sat, 28 Nov 2009 20:54:03 +1100


I am using RGtk2 for a simple GUI (rattle).

I start rattle from the RGui and I remain able to interact with the RGui while rattle runs.

Under MS/Windows, when rattle has initiated some other underlying R command the rattle GUI remains responsive (unlike under GNU/Linux where it is not responsive until the underlying command completes).

I can interrupt the running command with a press of the Esc key in the RGui.

I want to have a button on the rattle GUI to run an R command to have the same behavior as pressing the Esc key in the RGui. I currently have a button in rattle as an example that will run another R command whilst the original R command is still running.

Looking at the C source code for the RGui it looks like it is sending a SIGBREAK signal to the R process.

Is this possible to do, somehow, from R?

Thanks,
Graham



R-devel_at_r-project.org mailing list

https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 28 Nov 2009 - 09:57:36 GMT

This archive was generated by hypermail 2.2.0 : Sat 28 Nov 2009 - 18:30:50 GMT