trim_intermediate_plots | R Documentation |
Trim off plots that are modified by subsequent lines to only show the "final" plot.
trim_intermediate_plots(x)
x |
An evaluation object produced by |
A modified evaluation object.
ev <- evaluate(c(
"plot(1:3)",
"text(1, 1, 'x')",
"text(1, 1, 'y')"
))
# All intermediate plots are captured
ev
# Only the final plot is shown
trim_intermediate_plots(ev)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.