In ESS when I am evaluating chunks of code in a .R file using C-c C-j or C-c C-r (to send the line or region to a running R process), how can I get the R buffer to scroll down automatically, such that after evaluating a region the cursor is at the bottom, at the prompt?
Thanks.
(setq comint-prompt-read-only t)
is likely a bad idea. I used to have this whole block of commands in .emacs (as copied from emacswiki), but(setq comint-prompt-read-only t)
would sometimes break the interaction between the buffer and inferior ESS process, forcing me to kill R and start session over. – Besought