no_log | R Documentation |
Record nothing, but present logger interface.
An R6
class object.
no_logger$new(verbose=TRUE)
verbose | toggle verbosity |
$dump(file=NULL,...)
file | Ignored. Filename or connection to write output to. |
... | Ignored. extra options passed to write.csv , except
row.names , which is set to FALSE . |
No file or output is created, except a message when verbose=TRUE
.
$logdata()
Returns empty data.frame.
Other loggers:
cellwise
,
expression_logger
,
filedump
,
simple
logfile <- tempfile(fileext=".csv")
out <- women %L>%
start_log(log=no_log$new(verbose=FALSE)) %L>%
identity() %L>%
head() %L>%
dump_log(file=logfile, stop=TRUE)
cat(readLines(logfile),"\n") # Empty file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.