[ESS] ESS and R... death to Emacs...
Dan Bolser
dmb at mrc-dunn.cam.ac.uk
Thu Mar 16 11:26:54 CET 2006
Hi,
I am R Version 2.2.1 (2005-12-20 r36812)
ESS version 5.2.12
Linux 2.6.15-1.1833_FC4 i686 athlon i386 GNU/Linux
The following R/ESS session causes a permanant 'hang', and kills my
emacs session...
# Start Emacs,
# Start an R process (M-x R)
# Evaluate the following line;
par(ask=T)
# Evaluate the following *region*;
plot(rnorm(50))
plot(rnorm(50))
When the last two lines are sent *together* to the R process (via M-x
ess-eval-region), the session 'crashes'.
Anyone else got the same problem?
Basically I think the fact that the emacs buffer 'hangs' while R is
'buisy' causes the problem. The first plot request is sent, and the
buffer hangs as R becomes 'buisy', then R asks for user input, but that
request is never echoed back to the user (because the buffer is
'hanging'). This is just a guess.
If the emacs buffer didn't go unresponsive while R is buisy, I don't
think this problem would occur. Like when you run a big process in R,
you can't use that emacs session for anything else because it is waiting
on R to finish.
Any way to get round this 'hang'?
Cheers,
Dan.
More information about the ESS-help
mailing list