[R] opening a PDF document

hadley wickham h.wickham at gmail.com
Mon Dec 15 01:49:16 CET 2008


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

-- 
http://had.co.nz/



More information about the R-help mailing list