helppdf {sfsmisc} | R Documentation |
help() Type="pdf" and View It
Description
Utility to view PDF-rendered help
pages; particularly
useful in case they contain mathematical formulas or otherwise
sophisticated formats.
Usage
helppdf(topic, viewer = getOption("pdfviewer"), quiet = !interactive(), ...)
Arguments
topic |
the topic, passed to |
viewer |
a pdf viewer; the default is typically what you want interactively. |
quiet |
|
... |
further optional arguments passed to |
Value
Returns the full path of the pdf file produced.
Author(s)
Martin Maechler
See Also
Examples
if(interactive()) {
## Both calls work :
helppdf(Normal)
helppdf("NegBinomial")
} else if(.Platform$OS.type != "windows") { # batch mode (Windows often too slow for this)
od <- setwd(tempdir())
ff <- helppdf(Normal, viewer=NULL)
stopifnot(file.exists(ff)) ; print(ff)
setwd(od)# revert to previous dir.
}
[Package sfsmisc version 1.1-18 Index]