run_tutorial | R Documentation |
Run a tutorial provided by an installed R package.
run_tutorial( name = NULL, package = NULL, ..., shiny_args = NULL, clean = FALSE, as_rstudio_job = NULL )
name |
Tutorial name (subdirectory within |
package |
Name of package. If |
... |
Unused. Included for future expansion and to ensure named arguments are used. |
shiny_args |
Additional arguments to forward to
|
clean |
When |
as_rstudio_job |
Runs the tutorial in the background as an RStudio job.
This is the default behavior when When running as an RStudio job, |
Starts a Shiny server running the learnr tutorial.
safe
and available_tutorials
# display all "learnr" tutorials available_tutorials("learnr") # run basic example within learnr ## Not run: run_tutorial("hello", "learnr") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.