[ESS] Keybind for "evaluate a multiline command"?

Vitalie Spinu @p|nuv|t @end|ng |rom gm@||@com
Thu Mar 12 22:27:26 CET 2015


 >>> Alexander Engelhardt on Thu, 12 Mar 2015 09:11:08 +0100 wrote:

[...]

 > So ideally, I am looking for a command to bind to shift-enter that
 > would run the above thing in six hits: one per library, one for the
 > multiline command, and one for the head(iris).

There is no such command. There is an open request on github for
semantic block evaluation, which is somewhat related to this request.

 > If that doesn't exist, I'll use
 > ess-eval-region-or-function-or-paragraph-and-step, which would force
 > me to use more newlines in my code, but has the advantage of running
 > all the library commands with one hit.

Yep, this is the way to go. I also use paragraphs as evaluation and
navigation blocks.

  Vitalie




More information about the ESS-help mailing list