[R] comments in Sweave

Jeff D. Hamann jeff.hamann at forestinformatics.com
Sat Jan 13 22:13:27 CET 2007


Sa-weeet! Does next spring mean in a couple of months?

-- 
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon 97339-1421

> 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
>



More information about the R-help mailing list