When starting R, how to gracefully exit Emacs-ESS?

Sometimes, right after I send the intensive calculation process to R in ESS, the whole screen freezes. When this happens, none of the Emacs commands work (I use a laptop running XP). My rude decision is to press Control-Alt-Del, go to task manager and kill the R process, not the Emacs process. (I actually use Process Explorer). As soon as I kill the R process, I will return to the Emacs buffers, but lose the R session. Then I can execute Meta-R and start again.

Does anyone know of a more elegant way to exit / interrupt from R to ESS?

+5
source share
1 answer

Control-G will gain control over emacs again. Then control-C interrupts R twice and is likely to return your message.

+8
source

All Articles