[Rd] Check for interrupts
Gabor Csardi
csardi at rmki.kfki.hu
Fri Aug 4 11:27:31 CEST 2006
Dear All,
is there a portable way to test from C whether there are interrupts (ie.
ctrl+c) to handle. I know there is R_CheckUserInterrupt() but i would need
to call some functions before handling the interrupt. On unix something like
if (R_interrupts_pending) {
my_cleanup_function();
R_CheckUserInterrupt();
}
might work, but this definitely does not work on windows (and possibly also
not on osx).
Or i need to install finalizers? Could you recommend some up to date docs
and/or examples if this is the case?
Thank you,
Gabor
--
Csardi Gabor <csardi at rmki.kfki.hu> MTA RMKI, ELTE TTK
More information about the R-devel
mailing list