Remove a slide
Remove a slide from a pptx presentation.
remove_slide(x, index = NULL, rm_images = FALSE)
x
: an rpptx objectindex
: slide index, default to current slide position.rm_images
: if TRUE (defaults to FALSE), images presented in the slide to remove are also removed from the file.cursor is set on the last slide.
my_pres <- read_pptx() my_pres <- add_slide(my_pres) my_pres <- remove_slide(my_pres)
read_pptx()
, ph_with()
, ph_remove()
Other functions to manipulate slides: add_slide()
, move_slide()
, on_slide()
, set_notes()
Useful links