Syntax highlighting in R (1.6.1) files autoloaded in Emacs (21.2) from desktop
rossini at blindglobe.net
Wed Feb 12 21:18:14 CET 2003
"M.Kondrin" <mkondrin at hppi.troitsk.ru> writes:
> How to turn it on? If I run Emacs and it have R files stored in
> desktop file from previous session then syntax highlighting does not
> turned on (with C-x C-f loaded files it works OK). M-x ess-mode does
> not help and produce a message "Wrong type argument: syntax-table-p
> nil". Entering ess-mode after a child (inferior) R session is launched
> goes smoothly.
> What is wrong?
> Thanks in advance
It ought to be R-mode. ess-mode is a generic function, which is
used by R-mode after variables and actions are set. Does that help?
I'm not sure what else is going on.
A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics rossini at u.washington.edu
FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my tuesday/wednesday/friday locations are completely unpredictable.)
More information about the ESS-help