library(ggplot2)
write_figure(
p_res = ggplot(),
page = NULL,
width = 3,
height = 3,
resolution = 200,
fig_file = file.path(tempdir(), "write_figure_example.png"),
fig_stamp = "stamp",
verbose = TRUE)
Run the code above in your browser using DataLab