All Projects → kforner → rcpp_progress

kforner / rcpp_progress

Licence: other
RcppProgress R package: An interruptible progress bar with OpenMP support for c++ in R packages

Programming Languages

C++
36643 projects - #6 most used programming language
r
7636 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to rcpp progress

WeightedTreemaps
Create Voronoi and Sunburst Treemaps from Hierarchical data
Stars: ✭ 33 (+26.92%)
Mutual labels:  rcpp
bh
R package providing Boost Header files
Stars: ✭ 73 (+180.77%)
Mutual labels:  rcpp
joineRML
R package for fitting joint models to time-to-event data and multivariate longitudinal data
Stars: ✭ 24 (-7.69%)
Mutual labels:  rcpp
scanstatistics
An R package for space-time anomaly detection using scan statistics.
Stars: ✭ 41 (+57.69%)
Mutual labels:  rcpp
rcppredis
R interface to Redis using the hiredis library
Stars: ✭ 45 (+73.08%)
Mutual labels:  rcpp
Badssl.com
🔒 Memorable site for testing clients against bad SSL configs.
Stars: ✭ 2,234 (+8492.31%)
Mutual labels:  rcpp
RcppNumerical
Rcpp Integration for Numerical Computing Libraries
Stars: ✭ 52 (+100%)
Mutual labels:  rcpp
sfheaders
Build sf objects from R and Rcpp
Stars: ✭ 70 (+169.23%)
Mutual labels:  rcpp
colourvalues
R library for assigning colours to values
Stars: ✭ 41 (+57.69%)
Mutual labels:  rcpp
DownloadFullInstaller
macOS application written in SwiftUI that downloads installer pkgs for the Install macOS Big Sur application.
Stars: ✭ 678 (+2507.69%)
Mutual labels:  pkg
splines2
Regression Spline Functions and Classes
Stars: ✭ 21 (-19.23%)
Mutual labels:  rcpp
rcppensmallen
Rcpp integration for the Ensmallen templated C++ mathematical optimization library
Stars: ✭ 28 (+7.69%)
Mutual labels:  rcpp
sync-pkg
Minimalist CLI to sync only basic properties from package.json to bower.json
Stars: ✭ 15 (-42.31%)
Mutual labels:  pkg
shapr
Explaining the output of machine learning models with more accurately estimated Shapley values
Stars: ✭ 95 (+265.38%)
Mutual labels:  rcpp
RcppML
Rcpp Machine Learning: Fast robust NMF, divisive clustering, and more
Stars: ✭ 52 (+100%)
Mutual labels:  rcpp
rdoxygen
Create doxygen documentation for R package C++ code
Stars: ✭ 15 (-42.31%)
Mutual labels:  rcpp
rcppgsl
Rcpp integration for GNU GSL vectors and matrices
Stars: ✭ 28 (+7.69%)
Mutual labels:  rcpp
textTinyR
Text Processing for Small or Big Data Files in R
Stars: ✭ 32 (+23.08%)
Mutual labels:  rcpp
PkgCleanup.jl
Cleanup unused Julia environments and artifacts
Stars: ✭ 53 (+103.85%)
Mutual labels:  pkg
pkgcheck
Script to check installer pkgs for deprecated runtime calls
Stars: ✭ 88 (+238.46%)
Mutual labels:  pkg

RcppProgress

Build Status codecov CRAN_Status_Badge

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

  • check for user interrupts in your c++ code
  • display a progress bar monitoring your c++ computation
  • compatible with multi-threaded c++ code (e.g. openMP)

Installing

  • from CRAN: install.packages("RcppProgress")
  • from github: remotes::install_github('kforner/rcpp_progress')

example

see a detailed example on Rcpp Gallery: http://gallery.rcpp.org/articles/using-rcppprogress/

How to build

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.

Feedback

Please use github issues to provide feedback, report bugs and propose new features.

Contribute

Contributions are welcome! The proposed process is:

  • open an issue and propose your changes
  • fork the project
  • do a merge request
  • code review
  • merge into master

New code must be tested and documented, and also come with an example.

For developers

tests and check

If you have all the RcppProgress dependencies (and suggests) installed:

type:

  • make tests: to run the tests
  • make check: to check the package

docker-checker

A Dockerfile (<docker_checker/Dockerfile>) is provided to help building the dev environment (built on rocker/r-devel) in which to develop and test RcppProgress.

type:

  • make docker/build: to build the docker
  • make docker/run: to run a shell in the docker with the current dir mounted inside
  • make docker/check: to check the package inside the docker
  • make docker/tests: to run test tests of the package inside the docker

test on windows using rhub

make docker/run
make check_rhub_windows
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].