cleanup_old_logfile | R Documentation |
This function is called once at the beginning of the runtime of the tool. It checks whether there is an old logfile and renames it (if existing) to "logfile_20yy-mm-dd-HHMMSS.log". Then a new, empty, logfile "logfile.log" is created.
cleanup_old_logfile(logfile_dir)
logfile_dir |
(Optional, String, default: "tempdir()") The absolute path to folder where the logfile will be stored. |
No return value, called for side effects (see description)
cleanup_old_logfile("path/to/logfile/dir/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.