I am trying to set up different figure size in different chunks. I first define a global settings using:
opts_chunk$set(fig.width=7, fig.height=7)
For specific code chunks, put the chunk options in the chunk header, e.g.
```{r fig.width=7, fig.height=14}
These are called local chunk options, which will override global chunk options (temporarily for this specific chunk).