openPDF: Open PDF Files in a Standard Viewer

Description Usage Arguments Details Value Author(s) Examples

View source: R/tools.R


Displays the specified PDF file.





A character string, indicating the file to view


Should the pdf viewer be opened in the background.


Currently this function works on Windows and Unix platforms. Under Windows, whatever program is associated with the file extension will be used. Under Unix, the function will use the program named in the option "pdfviewer" (see help(options) for information on how this is set.)

The bg argument is only interpreted on Unix.


This function is executed for its side effects. The specified PDF file is opened in the PDF viewer and TRUE is returned.


Jeff Gentry


## Not run: openPDF("annotate.pdf")

Example output

Loading required package: BiocGenerics
Loading required package: parallel

Attaching package:BiocGenericsThe following objects are masked frompackage:parallel:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked frompackage:stats:

    IQR, mad, sd, var, xtabs

The following objects are masked frompackage:base:

    anyDuplicated, append,, basename, cbind, colnames,
    dirname,, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
    order, paste, pmax,, pmin,, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Biobase documentation built on Nov. 8, 2020, 6:52 p.m.