PDF_text {Rpoppler}R Documentation

PDF text extraction

Description

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

Usage

PDF_text(file)

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

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

[Package Rpoppler version 0.1-2 Index]