Learn R Programming

ladder (version 0.0.1)

view_slide: Preview Slide as Image

Description

Preview Slide as Image

Usage

view_slide(presentation_id, page, size = "MEDIUM", viewer = TRUE)

Value

A character string of the file path to the saved image and opens the image in the viewer or browser if viewer = TRUE.

Arguments

presentation_id

character, the presentation id

page

character, the page number or id

size

character, the size of the image. One of "SMALL", "MEDIUM", "LARGE"

viewer

logical, if TRUE opens the image in the viewer

Examples

Run this code
if (FALSE) { # interactive()
s <- choose_slides()
tmp_image <- view_slide(s, 1)
file.remove(tmp_image)
}

Run the code above in your browser using DataLab