[R] Sweave and echoing code chunks conditionally
sdavis2 at mail.nih.gov
Mon Oct 6 21:41:34 CEST 2008
On Mon, Oct 6, 2008 at 3:30 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
Perfect (and obvious). Thanks.
> to set the default for echo one way or the other.
> On Mon, Oct 6, 2008 at 3:27 PM, Sean Davis <sdavis2 at mail.nih.gov> wrote:
>> I have started to use Sweave to prepare reports for "end-users" of
>> statistical analyses. For these users, there is not generally
>> interest in the code used to accomplish the analysis, but only the
>> results. However, sometimes I would like to prepare the same
>> document, but with code chunks echoed, for my own use "on-the-fly"
>> when discussing the statistical results. Is there a convenient way to
>> set things up so that with a single switch I can change things like
>> echo behavior throughout a document? Of course, a quick sed script
>> would do the trick, but I was interested in other ideas?
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help