view_slide: Preview Slide as Image

View source: R/thumbnail.R

view_slideR Documentation

Preview Slide as Image

Description

Preview Slide as Image

Usage

view_slide(presentation_id, page, size = "MEDIUM", 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

Value

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

Examples


s <- choose_slides()
tmp_image <- view_slide(s, 1)
file.remove(tmp_image)


ladder documentation built on June 8, 2025, 11:29 a.m.