R/RprofilesAuto/sourceDir.R

sourceDir <- function(path = ".") {
         for (file in list.files(path, pattern = "\\.[Rr]$")) {
         source(file.path(path,file))
         }
}
bwtian/Rprofile documentation built on May 13, 2019, 9:24 a.m.