rdotnet icon indicating copy to clipboard operation
rdotnet copied to clipboard

Interrupt R calculation

Open edugca opened this issue 2 years ago • 2 comments

Hi,

I would like to know how to interrupt R from calculating if the user presses ESC on the keyboard, say, during a call to Evaluate( ... ).

Best, Eduardo

edugca avatar Sep 22 '22 20:09 edugca

This is so much needed. If Evaluate accepted a CancellationToken it would be super useful.

antonio-policastro avatar Apr 06 '23 09:04 antonio-policastro

In RGUI, you can use Esc to interrupt the execution of R scripts, but there is no corresponding interrupt execution function in RDotNet.

JackGuogit avatar Mar 14 '24 02:03 JackGuogit