powered by
Calls the logger's $stop() method if it exists, and removes the logger as attribute from data.
$stop()
data
stop_log(data, logger = NULL, dump = TRUE, ...)
The data, invisibly.
An R object.
[character] vector. Class names of loggers to dump (e.g. "simple"). When loggers=NULL, all loggers are stopped and removed for this data.
[character]
"simple"
loggers=NULL
['logical'] Toggle dump log file.
['logical']
Passed to the logger's dump method, if it exists.
dump
Other control: %>>%(), dump_log(), get_log(), run_file(), start_log()
%>>%()
dump_log()
get_log()
run_file()
start_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