remove_slide: Remove a slide

View source: R/pptx_slide_manip.R

remove_slideR Documentation

Remove a slide

Description

Remove a slide from a pptx presentation.

Usage

remove_slide(x, index = NULL)

Arguments

x

an rpptx object

index

slide index, default to current slide position.

Note

cursor is set on the last slide.

See Also

read_pptx(), ph_with(), ph_remove()

Other functions slide manipulation: add_slide(), move_slide(), on_slide(), set_notes()

Examples

my_pres <- read_pptx()
my_pres <- add_slide(my_pres)
my_pres <- remove_slide(my_pres)

davidgohel/officer documentation built on March 18, 2024, 4:06 p.m.