Description Usage Arguments Examples
Choose a lesson to work on with swirlify by specifying the path to the
lesson.yaml
file or interactively choose a lesson file.
1 | set_lesson(path_to_yaml = NULL, open_lesson = TRUE, silent = FALSE)
|
path_to_yaml |
Optional, full path to YAML lesson file. If not specified, then you will be prompted to select file interactively. |
open_lesson |
Should the lesson be opened automatically?
Default is |
silent |
Should the lesson be set silently? Default is
|
1 2 3 4 5 6 7 8 | ## Not run:
# Set the lesson interactively
set_lesson()
# You can also specify the path to the \code{yaml} file you wish to work on.
set_lesson(file.path("~", "R_Programming", "Functions", "lesson.yaml"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.