sourceDir | R Documentation |
Enables convenient sourcing of multiple .R files simultaneously. Optionally, sourcing can occur recursively in subdirectories.
sourceDir(dirPath_v, recurse_v = TRUE, verbose_v = F)
dirPath_v |
a vector of strings, each corresponding to a directory containing .R files you would like sourced |
recurse_v |
a boolean allowing the user to specify whether the sourcing should dive into subdirectories. Unlike list.files(), the default is true |
verbose_v |
a boolean determining if sourced files should be printed. |
The list of full paths to .R scripts being sourced
sourceDir(dirPath_v=c("/path/to/UtilityFunctions", "/path/to/AbundanceFunctions"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.