NOTE: utils::txtProgressBar() and utils::setTxtProgressBar() are better.
Output a message while inside a for loop to update the user on progress. This
function is useful in tracking progress when the number of iterations is large
or the procedures in each iteration take a long time.