Interactively make a ggplot2 plot. The resulting
code will be emitted to the source file or console.
| 1 | 
Here's how you use it:
1. Highlight a symbol naming a data.frame in your R session,
e.g. mtcars,
2. Execute this addin and interactively build the plot.
When you're happy with the plot, press Done. The code for the plot will be be placed at the cursor position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.