write_plot | R Documentation |
Creates a file containing the current
plot into the grapho folder.
The filename follows the convention time-userID-sessionID.
The savePlotAsImage()
is used if the function is
run within RStudio. If the function is not run in RStudio then
dev.copy()
is used.
write_plot(folder = NULL, return_location = FALSE)
folder |
folder to write plot into |
return_location |
if TRUE then location of the plot on disk is returned. |
Plot file location string if echo_location argument is TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.