source.all: R Utilities: Source All R Files Within a Directory

Description Usage Arguments Author(s) Examples

Description

Sources all R files within a specified directory.

Usage

1
source.all( path , grepstring="\\.R",  print.source=TRUE )

Arguments

path

Path where the files are located

grepstring

Which strings should be looked for? grepstring can also be a vector.

print.source

An optional logical whether the source process printed on the console?

Author(s)

Alexander Robitzsch

Examples

1
2
3
4
5
6
## Not run: 
# define path
path <- "c:/myfiles/"
# source all files containing the string 'Rex'
source.all( path , "Rex" )
## End(Not run)


Search within the miceadds package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.