Force stop or halt on error

后端 未结 3 1055
日久生厌
日久生厌 2021-02-06 03:13

I was wondering if anyone knew of a good way to get R or ESS to stop executing the rest of the code beyond the point at which an error occurs if I am evaluating a region or buff

3条回答
  •  有刺的猬
    2021-02-06 03:29

    If R/ESS is hogging up so much compute time that your emacs/ESS is unresponsive to C-c C-c, you can also save it by sending an INTERRUPT signal from the terminal.

    First: figure out R's processID using top or ps. (mine was 98490 Then: kill -2 98490 That sends an interrupt signal and you get your ESS/Emacs and R session back

提交回复
热议问题