Learn R Programming

icesTAF (version 1.3-2)

sourceAtoZ: Run TAF Scripts in Alphabetical Order

Description

Run all TAF scripts in a directory, except all.R. Scripts are run sequentially, in alphabetical order. Optionally, start by cleaning old output directories and emptying the workspace before running each script.

Usage

sourceAtoZ(path = ".", rm = TRUE, clean = TRUE, quiet = FALSE)

Arguments

path

directory containing TAF scripts.

rm

whether to remove all objects from the global environment before each script is run.

clean

whether to clean existing TAF directories before running the scripts.

quiet

whether to suppress messages reporting progress.

Value

Logical vector, indicating which scripts ran without errors.

Details

By default, TAF scripts are run with rm = TRUE to make sure each script starts with an empty workspace. Likewise, the default clean = TRUE makes sure that the scripts start by creating new empty directories and populate them one by one.

See Also

sourceTAF runs a TAF script.

make runs a TAF script if needed.

clean cleans TAF directories.

icesTAF-package gives an overview of the package.

Examples

Run this code
# NOT RUN {
sourceAtoZ()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab