I somehow missed the response posted by Ben Bolker. He is quite correct (happily for me!):

\SweaveOpts{keep.source=TRUE}

in your LaTeX code will (I think) keep whatever manual formatting you do, in all code chunks (or use keep.source=TRUE) for particular code chunks
of concern




This information has made its way into the latest Sweave manual at http://www.statistik.lmu.de/~leisch/Sweave/.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to