Description Usage Arguments Examples
This function is intended to be used to load most common used packages and other environment setups (Credit: Rob M from Staples Days)
1 2 | pkg_loader(clear_env = F, dir = NULL, base_pkgs = T, extra_pkgs = NULL,
sci_off = T)
|
clear_env |
Clear global environment. Default is FALSE. |
dir |
Set working directory. |
base_pkgs |
Load base packages (dplyr, ggplot2, etc.). Default is TRUE. |
extra_pkgs |
Load additional packages. Default is FALSE. |
sci_off |
Turn off scientific notation. Default is TRUE. |
1 2 3 | pkg_loader()
pkg_loader(clear_env = T, base_pkgs = T)
pkg_loader(base_pkgs = T, extra_pkgs = c('caret'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.