name: a character string of the png file name. By default, if no input is given (name = NULL), the file name will begin with "ggplot". If the desired output file name is "myplot.png", enter name = "myplot", timestamp = FALSE
file_name_extension: file name extension (default = "png"). If file_name_extension = "svg", Package svglite needs to be installed.
timestamp: if timestamp = TRUE, a timestamp of the current time will be appended to the file name. The timestamp will be in the format, jan_01_2021_1300_10_000001, where "jan_01_2021" would indicate January 01, 2021; 1300 would indicate 13:00 (i.e., 1 PM); and 10_000001 would indicate 10.000001 seconds after the hour. By default, timestamp will be set as TRUE, if no input is given for the name argument, and as FALSE, if an input is given for the name argument.
width: width of the plot to be saved. This argument will be directly entered as the width argument for the ggsave
function within ggplot2 package (default = 16)
height: height of the plot to be saved. This argument will be directly entered as the height argument for the ggsave
function within ggplot2 package (default = 9)
Returns
the output will be a .png image file in the working directory.
Examples
## Not run:kim::histogram(rep(1:30,3))ggsave_quick()## End(Not run)