sourceDir | R Documentation |
Source all R files in a given directory Source all R files in a given directory into the current R session. Typically used to test some changes in a package without NAMESPACE issues.
sourceDir(path, pattern = "\\.[Rr]$", trace = TRUE, ...)
path |
path to a directory of R files |
pattern |
filename pattern to source |
trace |
list file names as sourced |
... |
other arguments passed to |
This comes from https://github.com/geneorama/geneorama/blob/master/R/sourceDir.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.