View source: R/txtProgressBar2.R
txtProgressBar2 | R Documentation |
Text progress bar in the R console. Modified from utils::txtProgressBar()
to include title and timing.
txtProgressBar2(
min = 0,
max = 1,
initial = 0,
char = "=",
width = NA,
title = ""
)
min |
Numeric value for minimum of the progress bar. |
max |
Numeric value for maximum of the progress bar. |
initial |
Initial value for the progress bar. |
char |
The character (or character string) to form the progress bar. |
width |
The width of the progress bar, as a multiple of the width of
|
title |
Title for the progress bar. |
Use utils::setTxtProgressBar()
to set the progress bar and close()
to
close it.
An object of class "txtProgressBar
".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.