Description Usage Arguments Value Examples
Function to set working directory and load in packages at the start of a script
1 | startScript(wd = "~", packages = c("tidyverse", "devtools", "viridis"))
|
wd |
A character string giving the desired working directory |
packages |
A character vector of packages to be loaded/installed |
Nothing, just a
1 2 3 4 | ## Not run:
startScript(wd = '~', packages = c('Bchron', 'simmr'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.