library("plumber")
server <- plumb("../examples/plumber.R") # Where 'plumber.R' is the location of the file shown above
server$run(port=8000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.