new_slide {r2pptx} | R Documentation |
Make a 'R2PptxSlide' object representing a PowerPoint slide.
new_slide(layout, elements = list())
layout |
character. Name of the PowerPoint layout to use for this slide. |
elements |
list. List of 'R2PptxElements' to initialize the slide with. Defaults to empty list. |
An object of class R2PptxSlide
representing a future
PowerPoint slide.