PDF_doc {Rpoppler}R Documentation

PDF document reference

Description

Create a reference to a Portable Document Format (PDF) file for use in subsequent information extraction from the file.

Usage

PDF_doc(file)

Arguments

file

A character string giving the path to a PDF file.

Value

A reference to a PDF file (external pointer object).

Examples

file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
doc <- PDF_doc(file)
## Can now use the reference for information extraction, avoiding
## the creation of new PopplerDocument objects when doing so.
PDF_info(doc)
PDF_fonts(doc)

[Package Rpoppler version 0.1-2 Index]