clean | R Documentation |
Remove TAF directories (data
, model
, output
,
report
) and/or clean the boot
directory.
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/data
,
boot/library
, and boot/software
subdirectories.
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.