I'm using Fedora 21 with GNU Emacs 24.5.1 and ESS version 15.03. In GUI mode I can use C-RET to pass code from an R script I'm editing to an inferior R process (it starts one up if I haven't yet), but that doesn't seem to work in console mode. Now C-RET just creates a new line in my R script. I've tried this using both emacs
and emacs-nox
installations.
I compiled ESS from source instead of using the outdated version in Fedora's package manager. Could that have anything to do with it?
C-h k C-RET
say? It should be bound toess-eval-region-or-line-and-step
. – VitoshKaC-RET
instead ofRET
, which is simply bound to thenewline
command. – Jason