knitr::opts_chunk$set( collapse = TRUE, dev = "png", dev.args = list(type = "cairo-png"), comment = "#>" )
Here is an example using the dsproject
package.
library(dsproject) import(data.csv) use(ggplot2) make_project(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.