View source: R/utils-progress_bar.R
progress_bar | R Documentation |
Creates a progress bar using the progress package with customizable formatting.
progress_bar(
total,
msg = "Processing",
width = 80,
show_percent = TRUE,
show_eta = TRUE,
clear = FALSE
)
total |
The total number of items to process |
msg |
The message to display before the progress bar |
width |
The width of the progress bar in characters |
show_percent |
Whether to show percentage completion |
show_eta |
Whether to show estimated time remaining |
clear |
Whether to clear the progress bar when done |
A progress bar object from the progress package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.