On Sun, 14 Dec 2008, Dennis Fisher 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?
R for Windows has 'open.exe'.
All other platforms have an apppriate comannd (if available) as
getOption("pdfviewer").
Dennis
Dennis Fisher MD
P < (The "P Less Than" Company)
Phone: 1-866-PLessThan (1-866-753-7784)
Fax: 1-415-564-2220
www.PLessThan.com
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.