officer (version 0.6.5)

length.rpptx: Number of slides

Description

Function length will return the number of slides.

Usage

# S3 method for rpptx
length(x)

Arguments

x

an rpptx object

See Also

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

Examples

Run this code
my_pres <- read_pptx()
my_pres <- add_slide(my_pres)
my_pres <- add_slide(my_pres)
length(my_pres)

Run the code above in your browser using DataLab