# this chunk is just to keep the _files directory even when we turn off cacheing
# save start time for script start_tm <- Sys.time() start_tm
outdir <- "./script_name_out_files/" dir.create(outdir, recursive=TRUE)
knitr::opts_chunk$set(echo=TRUE, warning=TRUE, message=TRUE, cache=FALSE, cache.lazy = FALSE, dev=c('png','pdf'), fig.width=8, fig.height=8, fig.path=paste0(outdir, "individual_figures/"))
library(dplyr) library(stringr) library(readr)
sessionInfo()
# output time taken to run script end_tm <- Sys.time() end_tm end_tm - start_tm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.