The logr package contains functions to easily create log files.
There are only three logr functions:
The log_open()
function initiates the log. The
log_print()
function prints an object to the log. The
log_close()
function closes the log. In normal situations,
a user would place the call to
log_open
at the top of the program, call log_print()
as needed in the
program body, and call log_close()
once at the end of the program.
See function documentation for additional details.
The logr package helps create log files for R scripts. The package
provides easy logging, without the complexity of other logging systems.
It is
designed for analysts who simply want a written log of the their program
execution. The package is designed as a wrapper to
the base R sink()
function.