# for installation, see https://github.com/jverzani/gWidgetsWWW2
library(gWidgetsWWW2)
options(device.ask.default = FALSE)
load_app(system.file('misc', 'gWidgetsWWW2-knitr.R', package = 'knitr'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.