Hi,
I asked exactly the same question to the author of Sweave privately last
week. Friedrich's reply was that it is not possible at the moment, as R
parser discard the comments. But he's working on it ;-D
On Wed, 22 Oct 2003, Giovanni Petris wrote:
> Date: Wed, 22 Oct 2003 10:59:38 -0500 (CDT)
> From: Giovanni Petris <GPetris at uark.edu>
> To: r-help at stat.math.ethz.ch
> Subject: [R] comments and Sweave
>
>
> I am using Sweave to produce handouts for teaching.
> Is there a way of making Sweave keep the comments following the `#' in
> the code chuncks?
>
> Thanks,
> Giovanni
>
>
--
Cheers,
Kevin
---------------------------------------------------------------
Ko-Kang Kevin Wang
Master of Science (MSc) Student
SLC Tutor and Lab Demonstrator
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022
Ph: 373-7599
x88475 (City)
x88480 (Tamaki)