An Interruptible Progress Bar with OpenMP Support for C++ in R Packages

Allows to display a progress bar in the R console for long running computations taking place in c++ code, and support for interrupting those computations even in multithreaded code, typically using OpenMP.

a R package that provides a c++ interruptible progress bar with OpenMP support for c++ code in R packages

see a detailed example on Rcpp Gallery:


  • OpenMP support to use the multithreaded parallelized version. OpenMP is available in GCC >= 4.2

Just install it the usual way.

If you want more control, unarchive it, cd to the source directory, then type R CMD INSTALL . in the console.

Send me a pull request with at least one test or example


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4 by Karl Forner, 23 days ago

Report a bug at

Browse source code at

Authors: Karl Forner <>

Documentation:   PDF Manual  

GPL (>= 3) license

Imports Rcpp, devtools

Suggests RcppArmadillo, roxygen2, testthat

Imported by GCPM, benchr, rFTRLProximal, textmineR, textreuse.

Depended on by Rlda.

Suggested by msde.

Linked to by CFC, JAGUAR, MCMCprecision, NNLM, NetworkInference, Seurat, cpgen, dfcomb, dfmta, largeVis, lidR, lsgl, matchingMarkets, msgl, recosystem, sglOptim.

See at CRAN