filedump$new(dir=file.path(tempdir(),"filedump"), filename="%sstep%03d.csv",verbose=TRUE)
dir | [character] Directory location to write the file dumps. |
filename | [character] Template, used to create file names.
to create a file name. |
verbose | [logical] toggle verbosity. |
File locations are created with file.path(dir, file)
, where
file
is generated as sprintf(filename, DATA, STEP)
. In
interactive sessions DATA=""
. In sessions where a script is executed
using run_file
, DATA
is the name of the R object being
tracked or the label
provided with start_log
.
STEP
is a counter that increases at each dump.