I use statweave to work with latex and R (statistical program) I also
have MMMmode on. Everything works but the following. In R when I call
the variable "Y" that is in the data set "X" I can call it through the
command X$Y . As you see this $ sign will never be matched and
font-lock is having problems with this.
If you didn't use MMM mode I'd say, add the environment enclosing the R
code to `LaTeX-verbatim-environments'. But with MMM mode, I'm not sure.
Doesn't MMM mode take care of keeping syntax tables and font locking
separate in the different parts of the document?