Displaying 1 result from an estimated 1 matches for "openpdfcommand".
2008 Dec 16
0
Follow-up on "openPDF" command
...eral days ago, I queried about using the "system" command to open a
PDF file. A number of people responded, each providing useful ideas.
I integrated these ideas into a function that others can tailor to
their needs:
OPENPDF <- function(PDFFILENAME)
{
OPENPDFCOMMAND <- "open" # applies to OS X
if (!UNIX) OPENPDFCOMMAND <- "start" # applies to Windows
if (LINUX)
{
OPENPDFCOMMAND <- getOption("pdfviewer") # S-
Plus does not set this option...