capture.plot | R Documentation |
Capture the current R plot device as a cimg image
capture.plot()
a cimg image corresponding to the contents of the current plotting window
Simon Barthelme
##interactive only:
##plot(1:10)
###Make a plot of the plot
##capture.plot() %>% plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.