Prints to pdf, but turns dev off if fails

to.pdf(expr, filename, ..., verbose = TRUE)

Arguments

expr

expression to give plot

filename

filename to print to

See also

Other safe_plot_saving: to.png(), to.svg()