powered by
Source all the R functions contained in a directory.
sourcedir(path, trace = TRUE, ...)
Sourcing.
A character vector of full path names; the default corresponds to the working directory, getwd().
getwd()
Logical. Default to TRUE. See the code.
TRUE
Additional arguments to pass in the function list.files.
list.files
# \donttest{ path <- "D:/Users/Fun" sourcedir(path, FALSE) # }
Run the code above in your browser using DataLab