knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = TRUE, cache = TRUE, cache.path = "cache/", fig.path = "figures/file-name-") library("ggplot2") theme_set(theme_light()) set.seed(4218)
Give all chunks a name so that figures have a meaningful file name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.