[Rd] Re: [R] Sweave echoing comments (again)

From: Wolski <wolski_at_molgen.mpg.de>
Date: Thu 09 Sep 2004 - 01:46:51 EST


I observed it also. There are cases where it is not desirable. It will be quite helpfull, if possible, to have a parameter that allows one to switch of removing the #comments.


On 9/6/2004 at 1:30 PM Thomas Petzoldt wrote:

>>>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:
>>>## a small example
>>>test() # line comment
>>>... the .tex file generated by Sweave only contains:
>>> test()
>>>... 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.
>>>R-help@stat.math.ethz.ch mailing list
>>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Dipl. bio-chem. Witold Eryk Wolski             @         MPI-Moleculare Genetic   
Ihnestrasse 63-73 14195 Berlin                'v'    
tel: 0049-30-83875219                        /   \       
mail: witek96_at_users.sourceforge.net        ---W-W----    http://www.molgen.mpg.de/~wolski 

R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Sep 09 01:51:03 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:14 EST