Skip to content

broadcast

Broadcasted Array Operations Like 'NumPy'

v0.1.9 · May 29, 2026 · MPL-2.0

Description

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).

Downloads

CRAN

478

Last 30 days

8045th

886

Last 90 days

3K

Last year

Trend: +114.4% (30d vs prior 30d)

r2u CRAN

44

Last 30 days

127

Last 90 days

421

Last year

Trend: -12% (30d vs prior 30d)

autoCRAN

7

Last 7 days

52

Last 30 days

6

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.4Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.4Mb
  sub-directories of 1Mb or more:
    libs   8.4Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/broadcast.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.4Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.4Mb
  sub-directories of 1Mb or more:
    libs   8.4Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.4Mb
  sub-directories of 1Mb or more:
    libs   7.4Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.4Mb
  sub-directories of 1Mb or more:
    libs   8.4Mb

Dependency Network

Dependencies Reverse dependencies Rcpp broadcast

Version History

9 tracked
updated 0.1.9 ← 0.1.8 diff May 29, 2026
new 0.1.8 Mar 10, 2026
updated 0.1.8 ← 0.1.7 diff Feb 19, 2026
updated 0.1.7 ← 0.1.6.1 diff Dec 13, 2025
updated 0.1.6.1 ← 0.1.5.3 diff Nov 8, 2025
updated 0.1.5.3 ← 0.1.5.1 diff Oct 9, 2025
updated 0.1.5.1 ← 0.1.5 diff Oct 3, 2025
updated 0.1.5 ← 0.1.3 diff Oct 1, 2025
new 0.1.3 Sep 14, 2025