[ESS] ESS and R... death to Emacs...

Martin Maechler maechler at stat.math.ethz.ch
Thu Mar 16 12:18:15 CET 2006


>>>>> "Dan" == Dan Bolser <dmb at mrc-dunn.cam.ac.uk>
>>>>>     on Thu, 16 Mar 2006 10:26:54 +0000 writes:

    Dan> Hi,
    Dan> I am R Version 2.2.1  (2005-12-20 r36812)
    Dan> ESS version 5.2.12
    Dan> Linux 2.6.15-1.1833_FC4 i686 athlon i386 GNU/Linux


    Dan> The following R/ESS session causes a permanant 'hang', and kills my 
    Dan> emacs session...

    Dan> # Start Emacs,
    Dan> # Start an R process (M-x R)
    Dan> # Evaluate the following line;
    Dan> par(ask=T)

    Dan> # Evaluate the following *region*;
    Dan> plot(rnorm(50))
    Dan> plot(rnorm(50))



    Dan> When the last two lines are sent *together* to the R process (via M-x 
    Dan> ess-eval-region), the session 'crashes'.

    Dan> Anyone else got the same problem?

I see no problem (GNU emacs 21.3).

Martin Maechler, ETH Zurich

    Dan> Basically I think the fact that the emacs buffer 'hangs' while R is 
    Dan> 'buisy' causes the problem. The first plot request is sent, and the 
    Dan> buffer hangs as R becomes 'buisy', then R asks for user input, but that 
    Dan> request is never echoed back to the user (because the buffer is 
    Dan> 'hanging'). This is just a guess.

    Dan> If the emacs buffer didn't go unresponsive while R is buisy, I don't 
    Dan> think this problem would occur. Like when you run a big process in R, 
    Dan> you can't use that emacs session for anything else because it is waiting 
    Dan> on R to finish.

    Dan> Any way to get round this 'hang'?


    Dan> Cheers,
    Dan> Dan.

    Dan> ______________________________________________
    Dan> ESS-help at stat.math.ethz.ch mailing list
    Dan> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list