[R] How to interrupt running computation?

Sarah Goslee sarah.goslee at gmail.com
Tue Aug 22 14:32:24 CEST 2006


On 8/22/06, Lothar Schmid <lothar.schmid at googlemail.com> wrote:
> If I start a computation in R, how can I interrupt it?
> I' using R 2.1.0.

Hi Lothar,

What do you mean by "interrupt" - cancel completely and
return to the prompt? Or pause, then resume? Your operating
system would be helpful too.

If the former, try Esc on Windows or Ctrl-C on Linux.
If the latter, Ctrl-Z will send your R session to the background
on Linux, and fg will bring it back. I don't think there's a
Windows equivalent.

Sarah


-- 
Sarah Goslee
http://www.stringpage.com



More information about the R-help mailing list