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