Displaying 2 results from an estimated 2 matches for "pdffilename".
2007 Dec 27
1
warning on gamma option in par(args) or calling par(= new)?
Dear All,
I have the following function
tstpar <-
function(n = 200, want.pdf = FALSE, pdfFileName = NULL){
oldpar <- par(no.readonly = TRUE)
on.exit(par(oldpar))
steps <- seq(from = 1, to = 8, by = 1)
h <- 10; w <- 6
if(want.pdf){pdf(file = pdfFileName, onefile = TRUE,
paper = "letter", width = w, height = h)}
par(mfrow = c(4,2))
for(i in s...
2008 Dec 16
0
Follow-up on "openPDF" command
Colleagues,
Several 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-
Pl...