[ESS] Is there a way to continue using emacs while C-c C-r ess-eval-region is running?

regcl regcl at channing.harvard.edu
Thu Apr 19 23:27:22 CEST 2012


On Apr 19, 2012, at 4:11 PM, Rodney Sparapani wrote:

> Vitalie Spinu wrote:
>> It's not technically a bug. It's just a limitation of the visual
>> execution of your code. ESS has to wait for each line for you to have
>> the benefit of seeing the lines as they are executed. If you do the {..}
>> trick you don't have that benefit anymore. So you might consider just
>> setting ess-eval-visibly-p to nil and forget about the issue. It's also
>> much faster this way.
> 
> Ok, but then it seems to me that the default of t must be a bug.
> 
> Rodney


Thank you. I tried setting ess-eval-visibly-p to nil. But now all I see in the R process (ESS[S]) buffer is:

> > > > > + + + + + + + + + + + + + + + + + > > > > > > + + + + ++ + + > > > > + + + + + + + + + + + + > > > > + + + + + + + + + + + + > > > > + + + + > > > > > > > > > > + + + + + > > > > > > > >> >> > > > > > > > > > > > 

This is generally confusing, and makes it tempting to put print statements in the code. Surely this would be a step backwards.  

What I need is for the R process to be allowed to lag behind, and for my code to be interleaved with evaluation results as they occur.

So, FWIW, I think the ESS default setting is correct. 


regcl


More information about the ESS-help mailing list