Learn R Programming

Rpoppler (version 0.1-0)

PDF_text: PDF text extraction

Description

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

Usage

PDF_text(file)

Value

A character vector with the extracted texts for each page.

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.

Examples

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

Run the code above in your browser using DataLab