Learn R Programming

Rpoppler (version 0.1-3)

PDF_doc: 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)

Value

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

Arguments

file

A character string giving the path to a PDF file.

Examples

Run this code
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)

Run the code above in your browser using DataLab