load_lab | R Documentation |
Load lab slides into RStudio's Viewer Pane. The function can either be called
without an argument load_lab()
, in which case a menu will appear in
the console for the user to make their selection, or with a number indicating
the desired lab as an argument.
load_lab(lab)
load_labs(lab)
lab |
Integer (optional). Including an integer will load the desired lab automatically. Leaving the argument blank will load a menu for users to make a selection from. |
load_lab() # Loads a menu to choose from
load_lab(1) # Automatically loads the 1st lab from the menu.
load_labs() # Similar to load_lab()
load_labs(1) # Similar to load_lab(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.