sys_sleep | R Documentation |
A small wrapper around Sys.sleep()
that adds a progress bar.
sys_sleep(time, ..., message = "Sleeping...", .progress = TRUE)
time |
the amount of time (in seconds) to sleep |
... |
additional parameters passed to |
message |
a message to display alongside the progress bar |
.progress |
whether or not to sleep with a progress bar. Defaults to |
# sleep with a progress bar
sys_sleep(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.