PDF_text: PDF text extraction

View source: R/text.R

PDF_textR 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)

Rpoppler documentation built on May 2, 2023, 5:13 p.m.

Related to PDF_text in Rpoppler...