Re: [R] comments in Sweave

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sat 13 Jan 2007 - 20:59:55 GMT

On 1/13/2007 3:16 PM, Jeff D. Hamann wrote:
> Has anyone been able to include R comments in Sweave docs so that the
> comments aren't deleted?

This has been fixed in R-devel (to become 2.5.0 next spring). You need to specify the "keep.source=TRUE" Sweave option, either in the chunk, or in the file as a whole.

Duncan Murdoch



R-help@stat.math.ethz.ch 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. Received on Sun Jan 14 08:07:41 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 13 Jan 2007 - 21:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.