[ESS] Multi-line commands and comint-previous-prompt (from the menu Backward Output Group)
Manuel Morales
mmorales at williams.edu
Fri Dec 12 03:22:51 CET 2014
I'm using ESS 14.9 installed from Melpa.
If I enter the following multi-line expression:
a <-
c(1:10)
I can get back to it using C-c C-p and then re-run it using ENTER. That
gives the following output:
> a <-
c(1:10)
a <-
+ c(1:10)
If I now type C-c C-p and try to re-run using ENTER I get only the first
line:
> a <-
Is there a way to change this behavior?
For more background I'm trying to write a function that will allow me to
recall commands from the history that have been entered from either the
R-buffer or a script file and the issue above is causing problems. If
interested see link below for the function:
https://stackoverflow.com/questions/27307757/ess-retrieving-command-history-from-commands-entered-in-essr-inferior-mode-or/27412677#27412677
More information about the ESS-help
mailing list