Copies the graphics contents of current device to PDF (a wrapper for dev2.pdf). Default size is 8.5 x 11 in landscape mode.

save_pdf(file, width = 11, height = 8.5, jpg = FALSE)

Arguments

file

filename to save the image

width

width of pdf image

height

height of pdf image

jpg

convert to 300 dpi .jpg file after pdf save?