On Thu, 6 Sep 2001, Claudia Tebaldi wrote:
> Hi all
>
> I'm running lm()/leaps() kind of computations within a loop, and I
> submitted the entire thing by sourcing a file of R code in interactive
> mode.
> I'd like to interrupt the evaluation of this (it's taking way too
long)
> but I am not able to.
> I'm running R-1.3.0 from an emacs window (ESS-5.0) and I'm on a
linux box,
> (Debian). I tried Control-c Control-c (nothing happens), or Control-g
> (Quit appears in the minibuffer window, but with no other consequences
> for the R process).
>
> I could kill the emacs job, but of course this would cause all the
> computations done in this session to be lost. I'd be happy to
> prevent that from happening...
>
You could try sending SIGINT to the R process with the kill command. That
is, find the process id (pid) of the R process and do
kill -INT pid
from the shell.
It works for me, but so does C-c C-c.
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._