PDF_text: PDF text extraction

Description Usage Arguments Value Examples

View source: R/text.R

Description

Extract text from a Portable Document Format (PDF) file.

Usage

1

Arguments

file

A character string giving the path to a PDF file, or an object of class "PDF_doc" giving a reference to a PDF file.

Value

A character vector with the extracted texts for each page.

Examples

1
2
file <- system.file(file.path("doc", "Sweave.pdf"), package = "utils")
PDF_text(file)

Rpoppler documentation built on May 19, 2017, 7:18 a.m.

Search within the Rpoppler package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.