[ESS] Sweave and aspell

Steve Lianoglou mailinglist.honeypot at gmail.com
Thu Aug 2 00:54:03 CEST 2012


I'm writing a rather long Sweave (ok, knitr) document and realize that
I haven't spell checked this thing yet.

I've installed aspell, which seems to work just fine, except for the
fact that it tries to spell check my code chunks when spell checking
the buffer.

I've found some older posts (on the aspell ML) that suggest adding a
"context filter" (I believe) to recognize the noweb delimiters (<<*>>=
... @).

I guess this must already be a solved problem -- is there something in
ESS that takes care of this for me that I'm missing? Or does someone
have an aspell context filter whipped up that they are willing to

Tangentially, I thought flyspell danced around this problem (since it
didn't check noweb chunks), but flyspell-mode actually shuts off when
the point enters a noweb block (or when I type a new one). Is there a
way to get flyspell to stop doing that, too?

Thanks for the help,

Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

More information about the ESS-help mailing list