[ESS] Manually turn on ess script mode

Douglas Bates bates at stat.wisc.edu
Sun Mar 6 16:55:37 CET 2011


On Sun, Mar 6, 2011 at 9:17 AM, Tyler Smith <tyler.smith at eku.edu> wrote:
> Hi,
>
> I'm marking a bunch of student R assignments. Some of the students have
> submitted files without the .R extension, so ess doesn't know to turn on
> when I open them. I can resave them with the correct extension and
> reopen them. However, I could skip this step if there was a way to
> explicitly tell emacs to start ess[s] mode. Is this possible? The manual
> only says that the mode should start automatically, but doesn't indicate
> if it's possible to make it start when the hooks don't get triggered.

The answer is almost embarrassingly straightforward.

M-x R-mode<ret>



More information about the ESS-help mailing list