| sourceall | R Documentation |
This function sources the files in a specified directory that follow the supplied pattern.
sourceall(dir = getwd(), pattern = ".*\\.R", ...)
dir |
character, the directory to look for the files. Defaults to the working directory |
pattern |
character, the regular expression that defines the pattern of the files to be sourced. Defaults to all files with ".R" extension. |
... |
other arguments passed to |
All files in the dir directory are sourced in alphabetical order via
source.
source
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.