powered by
Sources all R files within a specified directory.
source.all( path , grepstring="\\.R", print.source=TRUE )
Path where the files are located
Which strings should be looked for? grepstring can also be a vector.
grepstring
An optional logical whether the source process printed on the console?
# NOT RUN { # define path path <- "c:/myfiles/" # source all files containing the string 'Rex' source.all( path , "Rex" ) # }
Run the code above in your browser using DataLab