[R] Knitr: setting echo = FALSE globally

Thierry Onkelinx thierry.onkelinx at inbo.be
Mon Jul 20 20:09:41 CEST 2015


Have you tried echo = FALSE instead of echo = F.

If that doesn't solve your problem, please provide a minimal reproducible
example.
Op 20-jul.-2015 20:02 schreef "Rich Shepard" <rshepard op appl-ecosys.com>:

>   Near the beginning of a LyX document I have a knitr chunk with options
> that begin with 'global_options', and includes echo=F. This presents the R
> code in that chunk from displaying in the compiled PDF file. However, all
> following knitr chunks are included in the PDF file.
>
>   Reading the docs (including the Knitr book) does not show me what I am
> doing incorrectly. A pointer to the solution is needed.
>
> Rich
>
> ______________________________________________
> R-help op r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list