This embeds a png screenshot into the document. Generally you should use
echo = FALSE
on such blocks. By convention, screenshots should
live in a screenshots/
directory.
1 2 3 | screenshot(path, dpi = NULL)
embed_png(path, dpi = NULL)
|
path |
Path to screenshot. |
dpi |
DPI of image. You can leave this blank if the dpi is stored in the png metadata |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.