PB | R Documentation |
Progress bars are useful ways of getting updates on how close a task is to
completion. However, they can get in the way of RMarkdown documents with
lots of unnecesssary printing. PB
is a convenience function that
creates progress bars with the following defaults
char = '='
style = 3
file = stderr()
PB()
An object of class txtProgressBar
txtProgressBar
stderr
pb <- SeuratDisk:::PB()
for (i in 1:10) {
utils::setTxtProgressBar(pb, i / 10)
}
close(pb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.