knitr_setup | R Documentation |
Loads knitr, kableExtra, font awesome, sets an RNG seed, and sets several convenient knitr options:
Aliases for h (fig.height) and w (fig.width)
Turns on fig.align="center", message=FALSE, etc., almost always what one wants if writing a report (as opposed to an R instructional document)
Sets smaller figure margins
knitr_setup(fa = TRUE)
fa |
Load font awesome? (default: TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.