Skip to contents

Function length will return the number of slides.

Usage

# S3 method for class 'rpptx'
length(x)

Arguments

x

an rpptx object

See also

Other functions for reading presentation information: annotate_base(), color_scheme(), doc_properties(), layout_properties(), layout_summary(), plot_layout_properties(), slide_size(), slide_summary()

Examples

my_pres <- read_pptx()
my_pres <- add_slide(my_pres)
my_pres <- add_slide(my_pres)
length(my_pres)
#> [1] 2