progress: Show progress while timer in running

View source: R/progress.R

progressR Documentation

Show progress while timer in running

Description

Show progress while a timer is running following a call of tick().

Usage

progress(txt = NULL)

Arguments

txt

custom text to be displayed. If not provided, the time since calling tick() is displayed.

Value

None

Author(s)

Danail Obreschkow

See Also

tick tock

Examples


tick('Test')
Sys.sleep(.1)
for (i in seq(3)) {
  progress(i)
  Sys.sleep(.1)
}
tock()


obreschkow/cooltools documentation built on June 10, 2025, 11:54 a.m.