Skip to contents

All functions

add_image()
Add image to a Google Slides presentation
add_linked_chart()
Add a linked chart form Google Sheets
add_table()
Add a table to a Google Slides slide
add_text()
Add text in a Google Slides presentation
add_text_multi()
Add or update text in a Google Slides presentation
as_r2slides_table()
Convert a table object to an r2slides_table
bounding_box()
Calculate Bounding Box for Slide Position Objects
chart_id()
Chart ID class
combine_style()
Combine Text Styles
correct_slide_size()
Correct slide sizes
create_styling_request()
Create a styling request
define_relative_transformation_function()
This function takes transformations for top, left, width, and height, and returns a function that applies those transformations to a slide_position object.
element() text_element() image_element() chart_element() table_element() shape_element()
Element objects
element_type()
Get the type of an element
get_active_presentation()
Get the currently active presentation
get_active_spreadsheet()
Get the currently active spreadsheet
get_all_elements()
Get all elements in a slide
get_chart_id()
Get chart_id from a Google Sheet
get_elements()
Get elements from a slide
get_image()
Get image URL or file path from an image element
get_linked_sheet()
Get the linked Google Sheet chart reference from a chart element
get_match_fn()
Get the current match function
get_page_elements()
Get page elements for a slide
get_position()
Get the position of an element
get_raw()
Get the raw API node for an element
get_replacement_strategy()
Get the current replacement strategy
get_safe_length()
Get the length of an argument
get_table()
Get table cell text from a table element
get_text()
Get the text content of an element
get_text_style()
Get the text style of an element
in_qualtrics_title()
Creates a slide_position object with defaults in the title of the slide
is.presentation()
is.presentation
is.slide()
Check if an object is a slide
is.slide_position()
Is slide_position
is.spreadsheet()
Check if an object is a spreadsheet
is_element()
Test whether an object is an element
match_by_type_and_position()
Match elements by type and position
new_presentation()
Create a new Google Slides presentation
new_slide()
Create a new slide in a Google Slides presentation
new_spreadsheet()
Create a new Google Sheets spreadsheet
on_slide_id() on_slide_url() on_slide_number() on_slide_after() on_slide_with_notes()
Create a slide object
peek()
Peek at a slide
presentation
R6 Class for Google Slides Presentations
query()
Query Google API's
solid_color() theme_color()
Color classes
r2slides_auth()
Create OAuth authentication token
r2slides_deauth()
Clear current token
r2slides_table
Table Objects
r2slides_token()
Get authentication token
register_presentation()
Register a Google Slides presentation
register_spreadsheet()
Register an existing Google Sheets spreadsheet
relative_position()
Relative Position
send_to_front() send_to_back() send_forward() send_backward()
Change the Z-order of a page element
set_match_fn()
Set the match function
set_replacement_strategy()
Set the replacement strategy
sht_id() is_sht_id()
Sheet ID class
in_top_left() in_top_middle() in_top_right() in_bottom_left() in_bottom_middle() in_bottom_right()
Creates a slide_position object with defaults in the top left of the slide
slide()
Slide Object
slide_position()
Slide Position Object
spreadsheet
R6 Class for Google Sheets Spreadsheets
str_before() str_after() str_matches()
String helper functions for text positioning
style_rule()
Style Rule Object
text_style()
Text styling properties
visualize_color()
Visualize a color
write_gs()
Write data to a Google Sheet