sourceDir: Source scripts from directory.

Description Usage Arguments Details Author(s) Source See Also

Description

Source all R-related scripts from a given directory.

Usage

1

Arguments

path

the path to the directory to source.

trace

if TRUE, the names of the sourced files are printed to the terminal in order to facilitate tracing of errors upon sourcing.

local

TRUE, FALSE or an environment, determining where the parsed expressions are evaluated. FALSE (the default) corresponds to the user's workspace (the global environment) and TRUE to the environment from which source is called.

...

further arguments passed on to source.

Details

The function looks for all files with extension matching R, r, S, s, Q and q in the given directory and sources them with source().

Author(s)

Thomas Münch

Source

see the respective example in ?source.

See Also

source


thomas-muench/tmlibr documentation built on May 26, 2019, 10:36 a.m.