Open PDF Files in a Standard Viewer
Displays the specified PDF file.
openPDF(file, bg=TRUE)
file |
A character string, indicating the file to view |
bg |
Should the pdf viewer be opened in the background. |
Currently this function works on Windows and Unix platforms. Under
Windows, whatever program is associated with the file extension will
be used. Under Unix, the function will use the program named in the
option "pdfviewer" (see help(options)
for information on
how this is set.)
The bg
argument is only interpreted on Unix.
This function is executed for its side effects. The specified PDF file
is opened in the PDF viewer and TRUE
is returned.
Jeff Gentry
## Not run: openPDF("annotate.pdf")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.