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

Vitalie Spinu spinuvit at gmail.com
Fri Apr 20 10:31:55 CEST 2012




>>>> Matthew Landis <landis at isciences.com>
>>>> on Thu, 19 Apr 2012 21:22:46 -0400 wrote:

  > On 4/19/2012 5:27 PM, regcl wrote:
  >> 
  >> 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, 

It's a matter of habit. The output is always printed. And you know what
you are sending to the process anyway. I am so used to it, that I find
obtrusive input code in *R* buffers very annoying.

As a side note if your regions of code are so large, it might be good to
encapsulate them in functions. And then just send one line of a function
call.

  >> 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.
  >> 
  >> 
  > I have to agree with regcl here.  This is one of my few complaints about ESS.  I
  > would love to have a usable way of echoing the statements that I am sending.

I am afraid that this will be only possible when emacs has some sort of
concurrency, so ESS can wait for R in parallel.

Vitalie.



More information about the ESS-help mailing list