[ESS] Combining sweave and pdflatex into one helper function

Seb spluque at gmail.com
Mon Feb 14 18:36:05 CET 2011


On Mon, 14 Feb 2011 11:43:46 -0500,
Brett Presnell <presnell at stat.ufl.edu> wrote:

> I grabbed what you posted yesterday and added it into my .emacs, but I
> had one strange problem that pushed me back to "M-n s" + "M-n P".  The
> problem was that the line

> \SweaveOpts{keep.source=TRUE}

> which I usually put that the top of my .Rnw file seems to be ignored
> when I run Sweave with "C-cC-c Sweave", while it is correctly picked
> up by "M-n s".

Thanks for checking, as I never use keep.source=TRUE.  The problem is
with one of AUCTeX's expansion codes when running Sweave.  I'll commit a
fix for that soon.


-- 
Seb



More information about the ESS-help mailing list