Package: delarr 0.1.0

Bradley Buchsbaum

delarr: Lazy Delayed Arrays with Fused Execution

Provides a lightweight delayed array abstraction for lazy, fused evaluation of multi-dimensional numeric data. Compared with Bioconductor's 'DelayedArray', it offers a small S3 API with tidy-friendly verbs, chunked materialisation, and optional backends for HDF5, memory mapping, and shared-memory parallelism. Expression trees are optimised before streaming evaluation, and results can be written directly to disk without fully materialising arrays in memory.

Authors:Bradley Buchsbaum [aut, cre, cph]

delarr_0.1.0.tar.gz
delarr_0.1.0.tar.gz(r-4.7-any)delarr_0.1.0.tar.gz(r-4.6-any)
delarr_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
delarr/json (API)

# Install 'delarr' in R:
install.packages('delarr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bbuchsbaum/delarr/issues

Pkgdown/docs site:https://bbuchsbaum.github.io

On CRAN:

Conda:

3.95 score 3 packages 6 scripts 32 exports 1 dependencies

Last updated from:434d861666. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK200
source / vignettesOK167
linux-release-x86_64OK175
wasm-releaseOK113

Exports:block_applycollectcollect_shardcolMeans2d_apermd_centerd_detrendd_mapd_map2d_matmuld_reduced_reduce_manyd_scaled_transposed_whered_zscoredelarrdelarr_backenddelarr_hdf5delarr_memdelarr_mmapdelarr_seeddelarr_seed_nddelarr_shardexplainhdf5_writeroptimize_delarrprofile_collectread_hdf5rowMeans2shard_writerwrite_hdf5

Dependencies:rlang

Advanced Chunking and Backends in delarr
When should you reach for the advanced tools? | What will the execution plan do? | How do you let delarr choose a chunk size? | How do you compute several summaries in one pass? | How do you work block-by-block? | How do delayed matrix products fit into a pipeline? | How do you stream a transformed matrix to disk? | How do you use shared-memory workers? | How do you profile a candidate pipeline? | Where should you go after this?

Last update: 2026-06-30
Started: 2026-06-30

Getting Started with delarr
What problem does delarr solve? | What does a lazy pipeline look like? | How do row and column vectors broadcast? | How do you stream a result to HDF5? | How do you wrap your own storage layer? | Where should you go next?

Last update: 2026-06-30
Started: 2026-06-30

Readme and manuals

Help Manual

Help pageTopics
Subset a delayed array[.delarr
Materialise a delayed matrix as a base matrixas.matrix.delarr
Apply a function to streamed matrix blocksblock_apply
Materialise a delayed matrixcollect
Parallel collect using shard's shared-memory workerscollect_shard
Column means for delayed matricescolMeans2
Column means for a delayed matrixcolMeans2.delarr
Permute dimensions of a delayed arrayd_aperm
Center a delayed matrix along rows or columnsd_center
Detrend a delayed matrixd_detrend
Apply an elementwise transformation lazilyd_map
Apply a binary elementwise transformation lazilyd_map2
Delayed matrix multiplicationd_matmul
Reduce along a dimension lazilyd_reduce
Run multiple reductions and collect resultsd_reduce_many
Scale a delayed matrix along rows or columnsd_scale
Transpose a delayed matrixd_transpose
Apply a boolean mask to a delayed matrixd_where
Z-score a delayed matrixd_zscore
Create a delayed matrixdelarr
Wrap a custom backend as a delayed matrixdelarr_backend
Create a delayed array sourced from an HDF5 datasetdelarr_hdf5
Create a delayed matrix from an in-memory matrixdelarr_mem
Create a delayed matrix from a memory-mapped filedelarr_mmap
Construct a seed backend for 'delarr'delarr_seed
Construct an N-dimensional seed backend for 'delarr'delarr_seed_nd
Create a delayed array backed by shared memorydelarr_shard
Dimensions of a delayed arraydim.delarr
Dimensions for a 'delarr_seed'dim.delarr_seed
Dimension names for a delayed arraydimnames.delarr
Explain a delayed execution planexplain
HDF5 writer for streaming 'collect()'hdf5_writer
Arithmetic and comparison operators for 'delarr'Ops.delarr
Optimize a delayed pipelineoptimize_delarr
Pretty-print a delayed matrixprint.delarr
Profile 'collect()' runtimeprofile_collect
Read a matrix from an HDF5 fileread_hdf5
Row means for delayed matricesrowMeans2
Row means for a delayed matrixrowMeans2.delarr
Shared-memory writer for streaming 'collect()'shard_writer
Write a matrix to an HDF5 filewrite_hdf5