December 2017
Beginner to intermediate
470 pages
12h 29m
English
You may use global chunk options rather than repeated local chunk options. Whenever you need to, you can override a global chunk option by specifying a different local chunk option. Using the following code would make every code chunk have the echo = TRUE and eval = FALSE options enabled, unless otherwise specified at specific blocks:
```{r global-options}
knitr::opts_chunk$set(echo = TRUE, eval = FALSE)
```