powered by
Run a TAF script and return to the original directory. Optionally start with an empty workspace.
sourceTAF(script, rm = TRUE, quiet = FALSE)
script filename.
whether to remove all objects from the global environment before the script is run.
whether to suppress messages reporting progress.
By default, TAF scripts are run with rm = TRUE to make sure each script starts with an empty workspace.
rm = TRUE
Invisible TRUE or FALSE, indicating whether the script ran without errors.
TRUE
FALSE
source is the base function to run R scripts.
source
make runs a TAF script if needed.
make
sourceAtoZ runs all TAF scripts in a directory.
sourceAtoZ
icesTAF-package gives an overview of the package.
icesTAF-package
# NOT RUN { write("print(pi)", "script.R") source("script.R") sourceTAF("script.R") file.remove("script.R") # } # NOT RUN { # }
Run the code above in your browser using DataLab