compressPDF | R Documentation |
Compresses a PDF (into a new PDF).
## Default S3 method:
compressPDF(filename, path=NULL, outFilename=basename(pathname),
outPath="compressedPDFs", skip=FALSE, overwrite=FALSE, compression="gs(ebook)+qpdf",
...)
filename, path |
The filename and (optional) path of the PDF to be compressed. |
outFilename, outPath |
The generated PDF. |
skip |
If |
overwrite |
If |
compression |
A |
... |
Additional arguments passed to |
Returns the pathname of the generated PDF.
Henrik Bengtsson
Internally compactPDF
is utilized.
## Not run:
pathnameZ <- compressPDF("report.pdf")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.