Description Usage Arguments Details Value Author(s) See Also Examples
Split PDF into separate pages or merge multiple PDFs into one.
1 2 3 |
file |
For |
outdir |
For |
password |
Optionally, a character string containing a user password to access a secured PDF. Currently, encrypted PDFs cannot be merged with |
outfile |
For |
split_pdf
splits the file listed in file
into separate one-page doucments. merge_pdfs
creates a single PDF document from multiple separate PDF files.
For split_pdfs
, a character vector specifying the output file names, which are patterned after the value of file
. For merge_pdfs
, the value of outfile
.
Thomas J. Leeper <thosjleeper@gmail.com>
extract_areas
, get_page_dims
, make_thumbnails
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# simple demo file
f <- system.file("examples", "data.pdf", package = "tabulizer")
get_n_pages(file = f)
# split PDF by page
sf <- split_pdf(f)
# merge pdf
merge_pdfs(sf, "merged.pdf")
get_n_pages(file = "merged.pdf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.