Description Usage Arguments Value See Also
Capture graphical output
1 | capture_plot_output(expr)
|
expr |
An expression to evaluate without printing output |
Whatever expr returned
This function takes advantage of R's delayed evaluation. expr
isn't
valuated until it's forced in this function.
The output is printed to a temporary png, which is then deleted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.