[R] Knitr: setting echo = FALSE globally

Yihui Xie xie at yihui.name
Mon Jul 20 21:02:19 CEST 2015


Section 5.1.3 of the book "Dynamic Documents with R and knitr" is
titled "Global Options". I don't know how to make it more clear for
readers to find information on global options in the book.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Web: http://yihui.name


On Mon, Jul 20, 2015 at 12:58 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>   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



More information about the R-help mailing list