fig_end | R Documentation |
fig_end
closes the PDF or PNG device created by fig_start()
.
It's simply a wrapper to grDevices::dev.off()
that returns invisibly and saves typing.
fig_end()
# fig_start('my_plot')
# plot(1:10)
# fig_end()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.