Self Answer (pretty much summary of other’s comments and answers):
-
In
RStudio,Escworks, on windows, Mac, and ubuntu (and I would guess on other linux distributions as well). -
If the process is run in say ubuntu shell (and this is not
Rspecific), for example using:Rscript my_file.RCtrl + ckills the processCtrl + zsuspends the process -
Within R shell,
Ctrl + Ckills helps you escape it