Skip to content

[Rcpp-devel] RInside: interrupting an analysis

2 messages · Jonathon Love, Dirk Eddelbuettel

#
hi dirk,

is there a way to gracefully 'interrupt' an analysis run from RInside?

i'll need to send an interrupt from a different thread? (whatever R does 
when you hit Ctrl+C)

and can RInside deal from the fallout from that?

with thanks

jonathon


jamovi - stats. open. now.

www.jamovi.org
#
On 30 May 2017 at 09:22, Jonathon Love wrote:
| is there a way to gracefully 'interrupt' an analysis run from RInside?
| 
| i'll need to send an interrupt from a different thread? (whatever R does 
| when you hit Ctrl+C)
| 
| and can RInside deal from the fallout from that?

Should be no different than R in the console because RInside embeds R.  R
itself has an interrupt handler watching these things.

Dirk