ABSTRACT

There are more than 50 chunk options that can be used to fine-tune the behavior of knitr when processing R chunks. Please refer to the online documentation at https://protect-us.mimecast.com/s/bekSCqxV2vtOlER7YHQMiIe?domain=yihui.org for the full list of options.

In the following sections, we only show examples of applying chunk options to individual code chunks. However, please note that any chunk options can also be applied globally to a whole document, so you do not have to repeat the options in every single code chunk.