Save the plot currently displayed in the Plots pane as an image.
savePlotAsImage(
file,
format = c("png", "jpeg", "bmp", "tiff", "emf", "svg", "eps"),
width,
height
)
The target file path.
The Image format. Must be one of ("png", "jpeg", "bmp", "tiff", "emf", "svg", or "eps").
The image width, in pixels.
The image height, in pixels.