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: http://gallery.rcpp.org/articles/using-rcppprogress/

Prerequisites:

  • 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

News

Reference manual

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

install.packages("RcppProgress")

0.3 by Karl Forner, 10 months ago


https://github.com/kforner/rcpp_progress


Report a bug at https://github.com/kforner/rcpp_progress/issues


Browse source code at https://github.com/cran/RcppProgress


Authors: Karl Forner <karl.forner@gmail.com>


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp

Linking to Rcpp


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

Depended on by Rlda.

Suggested by msde.

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


See at CRAN