| logging | R Documentation |
Logging is done using the logger package.
Logging output goes to stderr(), just like the message stream;
but see sink() (and the pitfalls of using it).
colorSpec.stoponerrorIf the this option is TRUE (the default),
a log event with level ERROR stops execution;
otherwise, execution keeps going.
For interactive use, TRUE is probably better.
For long batch jobs, FALSE might be appropriate,
since then a single error may not force a complete repeat.
A FATAL event always stops execution.
For examples on changing this option, see cs.options.
Wikipedia. Log4j. https://en.wikipedia.org/wiki/Log4j
options,
cs.options,
sink,
stderr
options( colorSpec.stoponerror=TRUE )
# or equivalently
cs.options( stop=TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.