progress_sleep | R Documentation |
Wrapper of 'Sys.sleep()' using 'progress' package
progress_sleep(time, format = " waiting [:bar] :percent eta: :eta", ...)
time |
The time interval to suspend execution for, in seconds. |
format |
The format of the progress bar. A number of tokens can be used here, see them below. It defaults to "[:bar] :percent", which means that the progress bar is within brackets on the left, and the percentage is printed on the right. Source: progress package. |
... |
Parameters for |
progress_sleep(5) system.time(progress_sleep(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.