[R] Q: how to interrupt long calculation?

Paul Smith phhs80 at gmail.com
Thu Aug 30 00:32:32 CEST 2007


On 8/29/07, D. R. Evans <doc.evans at gmail.com> wrote:
> > The subject says it all really: I've tried hitting control-C (multiple
> > times), but that doesn't seem to be a reliable way to interrupt a long
> > calculation. What is the right way to interrupt a calculation that has
> > been proceeding for several minutes and shows no sign of finishing
> > soon?
> >
>
> I forgot to mention that this is on an amd64 system running dapper (in
> case that makes any difference).

Assuming that you are using Linux, try the command

killall R

The instance of R running will be immediately killed and then you can
start R again.

Paul



More information about the R-help mailing list