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?
Thanks, Sean ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.