The knitr package has provided a lot of chunk options for customizing nearly all components of code chunks, such as the source code, text output, plots, and the language of the chunk, etc. It has also offered some options at the package level to customize the knitting process. This page documents all chunk options and package options available in knitr. The default values of these options are in parentheses in the list items.
Chunk Options
Chunk options are written in chunk headers. The syntax for chunk headers …