[ESS] shortcut to send a multi-line expression?

Ross Boylan ross at biostat.ucsf.edu
Thu Jul 26 23:41:56 CEST 2007


On Thu, 2007-07-26 at 13:41 -0700, Jenny Bryan wrote:
> Is there an ESS command to quickly send a multi-line expression to  
> the R process?  Without C-c C-n'ing your way through all of them,  
> i.e. stringing together many ess-eval-line-and-step commands?
> 
> I know how to use C-c C-r (ess-eval-region) to to send a region, but  
> that is predicated on setting the point and mark appropriately, which  
> is a step I would love to skip.
> And I know how to use C-c C-f (ess-eval-function) to send the  
> function definition that contains point.
> 
> Is there something deserving the name "ess-eval-expression-and-step"  
> that says "please send the syntactically complete multi-line command  
> that contains point and (maybe?) put point at the end of it"?
> 
C-c C-c evaluates up to the next blank line, as far as I can tell.  It's
not necessarily syntactically complete.

Ross




More information about the ESS-help mailing list