Close the PDF device (default: dev.cur()) and open the PDF file in a PDF viewer

finishAndShowPdf(PDF, which = grDevices::dev.cur(), ...)

Arguments

PDF

full path to the PDF file to be opened in the PDF Viewer

which

passed to dev.off

further arguments passed to hsShowPdf