Implements efficient 'NumPy'-like broadcasted operations for atomic and recursive arrays. In the context of operations involving 2 (or more) arrays, “broadcasting” (AKA singleton expansion) refers to efficiently recycling array dimensions, without making copies. Besides linking to 'Rcpp', 'broadcast' does not use any external libraries in any way; 'broadcast' was essentially made from scratch and can be installed out-of-the-box. The implementations available in 'broadcast' include, but are not limited to, the following. 1) Broadcasted element-wise operations on any 2 arrays; they support a large set of relational, arithmetic, Boolean, string, and bit-wise operations. 2) A faster, more memory efficient, and broadcasted abind-like function, for binding arrays along an arbitrary dimension. 3) Broadcasted ifelse-like and apply-like functions. 4) Casting functions, that cast subset-groups of an array to a new dimension, cast nested lists to dimensional lists, and vice-versa. 5) A few linear algebra functions for statistics. The functions in the 'broadcast' package strive to minimize computation time and memory usage (which is not just better for efficient computing, but also for the environment).
| Version: | 0.1.8 |
| Depends: | R (≥ 4.2.0) |
| Imports: | Rcpp (≥ 1.0.14), methods |
| LinkingTo: | Rcpp |
| Suggests: | tinytest, abind, roxygen2 |
| Published: | 2026-02-20 |
| DOI: | 10.32614/CRAN.package.broadcast |
| Author: | Tony Wilkes |
| Maintainer: | Tony Wilkes <tony_a_wilkes at outlook.com> |
| BugReports: | https://github.com/tony-aw/broadcast/issues/ |
| License: | MPL-2.0 |
| URL: | https://github.com/tony-aw/broadcast, https://tony-aw.github.io/broadcast/ |
| NeedsCompilation: | yes |
| Language: | en-gb |
| Materials: | NEWS |
| CRAN checks: | broadcast results |
| Reference manual: | broadcast.html , broadcast.pdf |
| Package source: | broadcast_0.1.8.tar.gz |
| Windows binaries: | r-devel: broadcast_0.1.8.zip, r-release: broadcast_0.1.8.zip, r-oldrel: broadcast_0.1.8.zip |
| macOS binaries: | r-release (arm64): broadcast_0.1.8.tgz, r-oldrel (arm64): broadcast_0.1.8.tgz, r-release (x86_64): broadcast_0.1.8.tgz, r-oldrel (x86_64): broadcast_0.1.8.tgz |
| Old sources: | broadcast archive |
Please use the canonical form https://CRAN.R-project.org/package=broadcast to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.