#' Function for saving png of biplot
#' @keywords internal
save_png <- function(code, width = 400, height = 400) {
path <- tempfile(fileext = ".png")
set.seed(5)
grDevices::png(path, width = width, height = height)
on.exit(grDevices::dev.off())
code
path
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.