[ESS] Manually turn on ess script mode
cesar.rabak at gmail.com
Sun Mar 6 19:11:30 CET 2011
Em 6/3/2011 13:17, Tyler Smith escreveu:
> 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.
Ask your students to have at the first line of their files:
# -*- R -*-
This will switch emacs to R-mode.
GNU/Linux User 52247.
Get counted: http://counter.li.org/
More information about the ESS-help