Skip to contents

Add Object to Slides

Usage

add_to_slides(object, presentation_id, on = NULL, object_id, ...)

Arguments

object

An object to add to slides

presentation_id

The id from the Slides presentation

on

The id or number of the slide to add object to

object_id

A unique id for the new object on the slides

...

Other arguments used in methods

overwrite

If TRUE and an object with object_id exists it will deleted and replaced.

Value

A presentation object after updating

Examples

if (FALSE) { # interactive()
# \donttest{
s <- choose_slides()
obj <- iris[1:5, ]
add_to_slides(obj, s, on = 1, object_id = "iris_table")
# }
}