[snip] Sorry. Small mistake fixed below:
> > Leaving aside the HAVE_AQUA and Win32 cases, I would like to write > a new function: > > int R_CheckInterruptsPending(void) > { > R_CheckStack(); > return R_interrupts_pending; > } > > and then in my C++ code: > if(R_CheckInterruptsPending) { // clean up // ... R_CheckUserInterrupt(); } > > R_CheckStack() is declared in R_ext/Utils.h but the variable > R_interrupts_pending isn't, so how could I access it? In other > words, how can I extend error.c ..... > > > Thanks, > > E > > > > > > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel