Learn R Programming

r2pptx

Overview

r2pptx leverages the power of the officer package and the ease of use of PowerPoint templates, making it simple to create PowerPoint slide decks straight from R.

Documentation is available online or through the vignettes.

Installation

install.packages("r2pptx")

# to get the development version from GitHub:
remotes::install_github("mattle24/r2pptx")

Contributing

If you think you have encountered a bug, please submit an issue. Please include a minimal, reproducible example when you submit an issue. The reprex package provides a fantastic interface for creating these kinds of examples, and has great documentation on how to make them.

If you would like to contribute code, correct a type, or add documentation, please open a pull request.

We have a Contributor Code of Conduct. By participating in r2pptx you agree to abide by its terms.

Thank you

Thank you to David Gohel for the officeverse packages! r2pptx is a wrapper around David’s excellent work.

Also thank you to Hadley Wickham and Jenny Bryan for an introduction to S4 in Advanced R and a guide to package development!

Copy Link

Version

Install

install.packages('r2pptx')

Monthly Downloads

218

Version

0.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Matt Lehman

Last Published

September 15th, 2021

Functions in r2pptx (0.1.0)

R2PptxElement-class

Element
length,R2PptxSlide-method

Get slide length
get_layouts

Get layouts
R2PptxPresentation-class

Presentation
new_element

New Element
R2PptxSlide-class

Slide
get_slides,R2PptxSlideList-method

method to get slides
R2PptxSlideList-class

Slide list
R2PptxLocation-class

Location
get_layout_properties

Gets layout properties
+,R2Pptx,R2PptxSlide-method

Add R2Ppptx slide
new_slide

New slide
new_presentation

New Presentation
new_slidelist

New slide list
plot_layout

Plot layout
+,R2PptxSlide,R2PptxSlideList-method

Add slide to slidelist
+,R2PptxSlide,R2PptxElement-method

Add element to slide
+,R2PptxSlideList,R2PptxSlideList-method

Add slidelist to slidelist
template_path<-

Set template path
template_path

Get template path
write_pptx

Write pptx
+,R2PptxPresentation,R2PptxSlideList-method

Add R2Ppptx slidelist