Description Usage Arguments Value Examples
Extract PDF
document
1 2 3 4 5 6 7 8 9 10 11 12 13 |
file |
a character string giving the name of the |
pages |
an integer giving the pages which should be extracted
(default is |
method |
a character string giving the data transfer method. Allowed values
are |
laycntrl |
a list of layout options, created by the function |
encoding |
a character string giving the encoding of the output
(default is |
password |
a character string giving the password necessary to access
the |
caching |
a logical if |
maxpages |
an integer giving the maximum number of pages to be extracted
(default is |
rotation |
an integer giving the rotation of the page, allowed values
are |
image_dir |
a character string giving the path to the folder, where the images
should be stored (default is |
pyexe |
a character string giving the path to the python executable
(default is |
Returns a object of class "pdf_document"
.
1 2 3 4 | if (is_pdfminer_installed()) {
pdf_file <- system.file("pdfs/cars.pdf", package = "pdfminer")
read.pdf(pdf_file)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.