Description Usage Details Examples
Determine a maximum height that R console output should be and if output is larger than that value, make it scrollable.
1 |
To run this hook, call the output_max_height()
function and then you
can either set a global maximum height
knitr::opts_chunk$set(output_max_height = "300px")
or you can specify it on a chunk by chunk basis
1 2 3 | ```{r output_max_height = "300px"}
print(mtcars)
```
|
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.