powered by
Calls the $dump(...) method of logger(s) tracking an R object.
$dump(...)
dump_log(data, logger = NULL, stop = TRUE, ...)
data, invisibly.
data
An R object tracked by one or more loggers.
[character] vector. Class names of loggers to dump (e.g. "simple"). When loggers=NULL, all loggers are dumped for this object.
[character]
"simple"
loggers=NULL
[logical] stop logging after the dump? Removes the logger(s) tracking the object.
[logical]
Arguments passed to the dump method of the logger.
dump
Other control: %>>%(), get_log(), run_file(), start_log(), stop_log()
%>>%()
get_log()
run_file()
start_log()
stop_log()
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)
Run the code above in your browser using DataLab