[R] opening a PDF document

hadley wickham
Mon, 15 Dec 2008 00:49:16 -0000

On Sun, Dec 14, 2008 at 6:18 PM, Dennis Fisher <fisher at plessthan.com>
wrote:
> Colleagues,
>
> I am interesting in opening a PDF document via the command line from both
> Windows, OS X, and Linux ( R version 2.8.0).  I found a command openPDF in
> Biobase.  However, I would rather execute the command myself.  For example,
> in OS X:
>>
>>        system("open filename.pdf")
>
> is successful.
>
> Is there a comparable command line command for Windows or Linux?

You might find

options()$pdfviewer

helpful.

Hadley

--