-----Original Message-----
From: r-devel-bounces@stat.math.ethz.ch
[mailto:r-devel-bounces@stat.math.ethz.ch] On Behalf Of Duncan
Sent: den 6 maj 2004 16:16
To: Henrik Bengtsson
Cc: r-devel@stat.math.ethz.ch
Subject: Re: [Rd] Ctrl-C with R.exe and Rterm.exe in R v1.9.0
On Wed, 5 May 2004 12:57:29 +0200, "Henrik Bengtsson"
<hb@maths.lth.se> wrote :
Ctrl-C works as expected. Exiting R and you're back at a "clean"
prompt. Now, try the same thing with R.exe (from a restarted
C:\Program Files\R>rw1090\bin\R.exe --vanilla --quiet
Strange things happen. R seems still to be running but has
time returned(?) the control back to the Command prompt.
Yes, that is indeed strange behaviour.
Ctrl-C definitely presents problems. For instance, on my
WinXP system running R from a Cygwin prompt, a Ctrl-C during
the Sys.sleep kills Rterm, whereas under the Windows cmd.exe
prompt it works properly as it did for you.
Cygwin is indeed where I noticed the problem first. For Cygwin, I know
that Ctrl-C did not kill Rterm on R v1.7.1 and before, but from R
v1.8.1 (don't know about R v1.8.0) it all of a sudden started to do
it. Maybe there is a clue somewhere in the diff's between v1.7.1 and
v1.8.x, which may also explain what is going on in R.exe and
Rterm.exe.