ask_save_plot: Ask to save or to show plot

Description Usage Arguments Functions Author(s) See Also

View source: R/ask_save_plot.R

Description

Ask interactively if the user wants to save plot into a file or show it on screen

Usage

1
2
3
ask_save_plot(filename = "Rplot.png", ..., FUN)

save_plot(filename = "Rplot.png", ..., FUN)

Arguments

filename

the name of file to save

...

arguments to be passed over to a picture generation function such as png, pdf. The function is determined by the the extension of filename. Currently "png", "pdf", "tif", and "jpg" file format can be used.

FUN

the function that make one or more plots

Functions

Author(s)

Mun-Gwan Hong, mungwan@gmail.com

See Also

png, pdf, tiff, jpeg


Rundmus/Useful2me-R_package documentation built on Nov. 13, 2020, 4:16 p.m.