[ESS] distinguish busy from non-busy waiting

Andreas Leha andreas.leha at med.uni-goettingen.de
Thu Nov 26 12:55:38 CET 2015


Hi all,

Is there a way to tell from ess' GUI whether R is busy doing something
or whether R is waiting for the completion of the user input?

Consider this example file

--8<---------------cut here---------------start------------->8---
Sys.sleep(
  10)


Sys.sleep(
  10
--8<---------------cut here---------------end--------------->8---

If I do `ess-eval-paragraph-and-step' on one after the other I get

,----
| > 
| + 
`----

from the first and

,----
| > 
| + + 
`----

from the second.

In both cases there is a spinning wheel in the mode line.

So, the number of '+' signs seems to be the only visible difference.
Counting the plus sings is not an option for real examples, of course.


Hence my question: Is there a way to immediately tell from the interface
whether the command is complete?

I quite often wait in vain due to a missing ')' and only a glance at the
output of 'top' or similar will help here.

Thanks,
Andreas



More information about the ESS-help mailing list