
Last chance! 50% off unlimited learning
Sale ends in
Create a reference to a Portable Document Format (PDF) file for use in subsequent information extraction from the file.
PDF_doc(file)
A reference to a PDF file (external pointer object).
A character string giving the path to a PDF file.
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