progressMsg: Progress message

progressMsgR Documentation

Progress message

Description

progress message in the R console.

Usage

setProgressMsg(min = 0, max = 1)
progressMsg(pm, value, round = 0)

Arguments

min, max

(finite) numeric values for the extremes of the progress message. Must have min < max

pm

list created by setProgressMsg

value

value for the progress message.

round

integer indicating the number of decimal places for the percentage completed. Defaults to 0.

Details

setProgressMsg sets up a list with variables used and updated by progressMsg

Value

a list

Author(s)

Hans Gerritsen

See Also

See also txtProgressBar

Examples

## Not run: 
  pm <- setProgressMsg(0,500)
  for(i in 1:500) {
    pm<- progressMsg(pm,i)
    Sys.sleep(0.01)
  
  }
  rm(pm)
  
## End(Not run)

mapplots documentation built on Aug. 25, 2023, 5:15 p.m.