set_teach_mode_settings: Set the options for rsTeachMode

Description Usage Arguments Value Examples

View source: R/teachmode.R

Description

Set the options for rsTeachMode

Usage

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
)

Arguments

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.

Value

List object of the rsTeachMode options

Examples

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)

murraycadzow/rsTeachMode documentation built on Oct. 20, 2020, 6:36 a.m.