# RcppParallel

> Parallel programming tools for Rcpp code in R packages

Source: https://talira.ai/catalog/rcppparallel-x1krdytn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency), [languages / r](https://talira.ai/categories/languages/r)
- Licence: GPL-3.0-or-later[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (GPL-3.0-or-later).
- Free tier: yes[^1]
- Backed by: [RcppCore](https://talira.ai/orgs/rcppcore.md)

RcppParallel gives [Rcpp](https://talira.ai/catalog/rcpp-3snb4gae.md) code in R packages high-level parallel functions: parallelFor turns a serial loop into a parallel one and parallelReduce accumulates values across threads. It bundles Intel's TBB (oneTBB) as the back end where it's supported and TinyThread elsewhere, and provides RVector and RMatrix wrappers for reading R data safely from several threads. Install it from CRAN as RcppParallel.

## Links

- Website: https://rcppcore.github.io/RcppParallel/
- GitHub: https://github.com/rcppcore/RcppParallel
- Docs: https://rcppcore.github.io/RcppParallel/

## Problems it solves

- make a slow loop in my R package's C++ code run on all cores
- parallelise Rcpp code without managing threads myself
- sum or reduce a large vector in parallel from Rcpp

## Features

- parallelFor and parallelReduce for Rcpp code
- Intel TBB back end, TinyThread fallback
- RVector and RMatrix thread-safe wrappers for R data
- bundles TBB and TinyThread

## Trust

Overall: 0.36 out of 1.
Signals: maintenance 0.45, adoption 0.45, momentum 0.10, community 0.57, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- latest release v6.2.1 3 months ago
- 174 GitHub stars
- 25 contributors
- backed by RcppCore

## Related

- Works with [Rcpp](https://talira.ai/catalog/rcpp-3snb4gae.md)

## Alternatives

- [future (R)](https://talira.ai/catalog/future-r-g5wmqhd9.md): Unified parallel and distributed processing in R
- [futurize](https://talira.ai/catalog/futurize-4xtyzs36.md): Parallelize R map-reduce calls by piping them into futurize()
- [Taskflow](https://talira.ai/catalog/taskflow-7twzmg5m.md): Header-only C++ library for task-parallel programs on CPUs and GPUs

## Sources

[^1]: https://github.com/rcppcore/RcppParallel/blob/master/DESCRIPTION (checked 29 Nov 2026)
