Re: [R] comments in Sweave

From: Duncan Murdoch <>
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 mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.