An interruptible progress bar with OpenMP support for c++ in R