Description Usage Arguments Examples
View source: R/convert_pptx_to_pdf.R
Convert a Document (usually PowerPoint) to a PDF
1 | convert_to_pdf(path, pdf_file = sub("[.]pptx", ".pdf", path))
|
path |
path to the document, can be PowerPoint or DOCX |
pdf_file |
output PDF file name. By default, creates a PDF in the
same directory as the |
1 2 3 4 5 6 7 | ## Not run:
path = system.file("examples/ex.pptx", package="docxtractr")
pdf <- convert_to_pdf(path, pdf_file = tempfile(fileext = ".pdf"))
path = system.file("examples/data.docx", package="docxtractr")
pdf_doc <- convert_to_pdf(path, pdf_file = tempfile(fileext = ".pdf"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.