| savingPlot | R Documentation | 
Saves a plot using a graphics device and returns the plot.
savingPlot(p, grDevice, ...)
| p | (not only) ggplot2 plot | 
| grDevice | graphics device | 
| ... | arguments to grDevice(...) | 
p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.