Save the last generated figure locally.
save_plot(
plot_file,
width = NULL,
height = NULL,
units = "in",
dpi = 300,
device = NULL
)
String. File name that the figure
shall be saved to. Can end in either ".png", ".tiff",
".pdf", ".jpeg", or ".bmp". For more information, see the documentation
of ggplot2::ggsave()
.
Integer. Optional. Plot width. If width = NULL
, width
is
set to the width of the plotting window.
Integer. Optional. Plot height If height = NULL
, height
is
set to the height of the plotting window.
String. Units for width
and height
.
Integer. Resolution for raster graphics such as .pdf-files.
String or function. Specifies which device to use (such as
"pdf" or cairo_pdf
)
Plot, locally saved.
Saves the last generated figure locally. Wrapper
function of ggsave()
from ggplot2. For further details, please
see ?ggplot2::ggsave.
Other external data functions:
read_pubmed_jats()
,
read_pubmed()
,
save_excel()