log_active | R Documentation |
Check if the log is running.
log_active()
TRUE
if a background thread is actively writing to the log,
FALSE
otherwise. The result is based on a static C variable,
so the information is second-hand.
path <- tempfile()
log_active()
log_start(seconds = 0.5, path = path)
log_active()
Sys.sleep(2)
log_stop()
Sys.sleep(2)
log_active()
unlink(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.