Hello,

I try to document some R scripts for my collegues and observed the problem, that Sweave strips comment lines away.

As a small example I write in an Rtex file:

\begin{Scode}
## a small example
test() # line comment
\end{Scode}

... the .tex file generated by Sweave only contains:

\begin{Schunk}
\begin{Sinput}
 test()
\end{Sinput}
\end{Schunk}


... and all the comments are lost. Looking into the archives, I found, that such a question appeared already some months ago. Are there any advances or workarounds doing such things today?


Thank you in advance!

Thomas P.

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to