| dump_log | R Documentation |
Calls the $dump(...) method of logger(s) tracking an R object.
dump_log(data, logger = NULL, stop = TRUE, ...)
data |
An R object tracked by one or more loggers. |
logger |
|
stop |
|
... |
Arguments passed to the |
data, invisibly.
Other control:
%>>%(),
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.