Try

\SweaveOpts{echo=FALSE}
or
\SweaveOpts{echo=TRUE}

to set the default for echo one way or the other.

On Mon, Oct 6, 2008 at 3:27 PM, Sean Davis <[EMAIL PROTECTED]> 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?
>
> Thanks,
> Sean
>
> ______________________________________________
> [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
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to