Description Usage Arguments Value Examples
Set the options for rsTeachMode
1 2 3 4 5 6 7 8 | set_teach_mode_settings(
current_mode = "user",
user_theme_name = get_current_editor_theme(),
user_font_size = get_current_font_size(),
teach_theme_name = "Chrome",
teach_font_size = 24,
quiet = TRUE
)
|
current_mode |
Either "user" or "teach". |
user_theme_name |
Name of the theme to be used in "user" mode. |
user_font_size |
Font size to be used in "user" mode. |
teach_theme_name |
Name of the theme to be used in "teach" mode. |
teach_font_size |
Font size to be used in "teach" mode. |
quiet |
When FALSE prints the code to be added to your Rprofile to make settings persist between sessions. |
List object of the rsTeachMode options
1 2 3 4 5 | ## Not run:
# Use current settings as the "user" mode and use the defaults for "teach" mode.
set_teach_mode_settings()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.