powered by
Read all *.R files from a directory containing R functions.
*.R
sourceDir(dir, pattern = "\\.[r|R]$", all.files = FALSE, recursive = FALSE, quiet = TRUE, ...)
Names of sourced files.
a directory containing R source files.
passed to dir when selecting files.
dir
whether to suppress messages.
passed to source when sourcing files.
source
The dir argument can also be a vector of filenames, instead of a directory name. This can be useful to specify certain files while avoiding others.
source is the base function to read R code from a file.
icesTAF-package gives an overview of the package.
icesTAF-package
if (FALSE) { sourceDir("bootstrap/software/utilities") }
Run the code above in your browser using DataLab