| stop_log | R Documentation |
Calls the logger's $stop() method if it exists, and removes
the logger as attribute from data.
stop_log(data, logger = NULL, dump = TRUE, ...)
data |
An R object. |
logger |
|
dump |
|
... |
Passed to the logger's |
The data, invisibly.
Other control:
%>>%(),
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.