clean | R Documentation |
Remove TAF directories: data
, model
, output
, and
report
.
clean(dirs = c("data", model.dir(), "output", "report"), force = FALSE)
dirs |
directories to delete. |
force |
passed to |
The model
directory may also be named method
and is cleaned in
the same way.
No return value, called for side effects.
The purpose of removing the directories is to make sure that subsequent TAF scripts start by creating new empty directories.
If any of the dirs
is "boot"
, it is treated specially and
clean.boot
is called to clean the boot
directory.
In other words, clean("boot")
and clean.boot()
are
interchangeable, the latter providing a slightly clearer interface that was
introduced in version 4.2.0.
clean.boot
cleans the boot directory.
mkdir
and rmdir
create and remove empty
directories.
TAF-package
gives an overview of the package.
## Not run:
clean()
clean.boot()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.