Ess hangs emacs sometimes

Martin Maechler maechler at stat.math.ethz.ch
Thu Jun 21 15:23:06 CEST 2001


>>>>> "Kjetil" == Kjetil Kjernsmo <kjetil.kjernsmo at astro.uio.no> writes:

    Kjetil> On Wed, 20 Jun 2001, Rich Heiberger wrote:

    >> I don't recognize the freezing of emacs that you run into.  Since I
    >> am currently using Windows I assume you are seeing a linux-specific
    >> behavior rather than an ESS behavior.  One of the other ESS
    >> developers will respond to that issue.

    Kjetil> Actually, I have it here too (ESS 5.1.11, Emacs 19.31.1 [sic!
    Kjetil> :-) ], R-1.2.1 Patched (2001-01-31), OSF1 alnair V4.0 1091
    Kjetil> alpha).  Most notably, it happens if R isn't running, or if R
    Kjetil> is unable to accept input for some reason.

and you *did* try to `say'
    C-g
to emacs ?

There is this principal `design bug' that Emacs waits for R's prompt
in some situations. E.g. when you have some code that would take 10 minutes
of CPU for R (or other S implementations) to compute,
*and* if you send the corresponding code from an [ESS] to an [iESS] buffer,
then subsequently use something like top (btw, use "lavaps" if you can,
really cool!) to see what your CPU is doing, you may notice that
half the CPU is used by emacs and only the other half by the R (or Sqpe..)
executable.  Pressing C-g in this situations stops emacs' waiting loop
and let's R have all the CPU cycles..

Some of the above has been on this mailing list several years ago,
and I think the situation happens more rarely,
and the description may even have been put into the ESS documentation..
{Tony? anyone from ESS-core ?}

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list