A result is first written to a directory in cache
,
and then read into a data.frame.
If a previous result with exactly the same arguments is found in cache
,
it is read without calling tekka
.
Usage
tekka(args = character(0L), cache = NULL)
Arguments
- args
Command line arguments as a string vector. See
tekka
manual andtekka("--help")
for available options. Note that a random--seed
is appended if not given. Useset.seed()
or--seed
explicitly for reproducibility and caching.- cache
Parent directory for tekka output.
TRUE
is equivalent to "." (current directory).tempdir()
is used in other cases including the default (NULL
), which is discarded at the end of an R session. SetFALSE
to forcetekka
to run and overwrite previous results if any.