| dump_log {lumberjack} | R Documentation |
Dump logging data
Description
Calls the $dump(...) method of logger(s) tracking an R object.
Usage
dump_log(data, logger = NULL, stop = TRUE, ...)
Arguments
data |
An R object tracked by one or more loggers. |
logger |
|
stop |
|
... |
Arguments passed to the |
Value
data, invisibly.
See Also
Other control:
%>>%(),
get_log(),
run_file(),
start_log(),
stop_log()
Examples
logfile <- tempfile(fileext=".csv")
women %L>%
start_log(logger=simple$new()) %L>%
transform(height_cm = height*2.52) %L>%
dump_log(file=logfile)
logdata <- read.csv(logfile)
head(logdata)
[Package lumberjack version 1.3.1 Index]