Re: [R] How to comment out entire code parts in Sweave files

2010-09-12 Thread schuster
Hello Werner, good question. According to this source: http://devdaily.com/blog/post/latex/multi-line-comments-in-latex-begin-123- comment-125-verbatim this can be done with \usepackage{verbatim} and \begin{comment} This is my comment. Note that it can span multiple lines. This is very usefu

Re: [R] How to comment out entire code parts in Sweave files

2010-09-11 Thread Duncan Murdoch
On 11/09/2010 4:42 AM, Werner W. wrote: Hi, I am wondering if there is any convenient way to comment out an entire region of a Sweave file which comprises R and Latex code. Currently I'm doing it for the R and Latex parts separately or transfer the unwanted part into a different file. But bot

[R] How to comment out entire code parts in Sweave files

2010-09-11 Thread Werner W.
Hi, I am wondering if there is any convenient way to comment out an entire region of a Sweave file which comprises R and Latex code. Currently I'm doing it for the R and Latex parts separately or transfer the unwanted part into a different file. But both are not great solutions. (I am doing t