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)
filename to save the image
width of pdf image
height of pdf image
convert to 300 dpi .jpg file after pdf save?