Skip to contents

A simple progress bar to use in R packages where messages are preferred to console output. See https://gist.github.com/MansMeg/1ec56b54e1d9d238b4fd.

Fields

iter

Total number of iterations

i

Current iteration

width

Width of the R console

width_bar

Width of the progress bar

progress

The number of character printed (continous)

progress_step

Addition to progress per iteration

Methods

increment()

A messagebar object.

initialize(iter)

Initialize a messagebar object

Author

Mans Magnusson (MansMeg @ github)