save to image code that generates a plot
1 | save_as_image(x, device, file = tempfile())
|
x |
code to evaluate |
device |
device to use to record image |
file |
filepath for device |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.