README.md

pdf2pptx

The package pdf2pptx is a simple tool for converting PDF presentations into PPTX format (based on images).

It is implemented in R to easily extend R Markdown workflow. This way you can convert your presentation to PPTX and easily present on platforms like MS Teams, where PDF presentation is problematic. Other potential use cases are recording audio comments or inserting your slides into a larger presentation.

The resulting PPTX is editable - meaning you can add some additional images or overlay content. Because the slides are rendered as images, the text is naturally not editable.

Under the hood, the package uses officer, magick, pdftools packages.

Installation

You can install the released version of pdf2pptx from GitHub with:

# Install devtools package if necessary
if(!"devtools" %in% rownames(installed.packages())) install.packages("devtools")

# Install the stable verion from GitHub
devtools::install_github("jirilukavsky/pdf2pptx")

Example

To convert a PowerPoint file, simply call pdf2pptx command and specify the source and destination file names:

library(pdf2pptx)
pdf2pptx("your.pdf", "your.pptx")


jirilukavsky/pdf2pptx documentation built on Sept. 28, 2020, 12:44 a.m.