Package: futurize 1.2.0-9000

Henrik Bengtsson

futurize: Parallelize Common Functions via One Magic Function

The futurize() function <doi:10.48550/arXiv.2601.17578> turns sequential map-reduce functions such as base::lapply(), purrr::map(), 'foreach::foreach() %do% { ... }' into concurrent alternatives, providing you with a simple, straightforward path to scalable parallel computing via the 'future' ecosystem <doi:10.32614/RJ-2021-048>. By combining this transpiler function with R's native pipe operator, you have a convenient way for speeding up iterative computations with minimal refactoring, e.g. 'lapply(xs, fcn) |> futurize()', 'purrr::map(xs, fcn) |> futurize()', and 'foreach::foreach(x = xs) %do% { fcn(x) } |> futurize()'. Other map-reduce packages that can be "futurized" are 'BiocParallel', 'plyr', 'crossmap', 'pbapply' packages. There is also support for a growing set of domain-specific packages on CRAN (e.g. 'boot', 'caret', 'DiceKriging', 'ez', 'fgsea', 'fwb', 'gamlss', 'glmmTMB', 'glmnet', 'kernelshap', 'lme4', 'metafor', 'mgcv', 'mlr3', 'mlr3tuning', 'modelsummary', 'parameters', 'partykit', 'pls', 'pvclust', 'riskRegression', 'rugarch', 'sandwich', 'seriation', 'shapr', 'Sim.DiffProc', 'SimDesign', 'stars', 'strucchange', 'SuperLearner', 'terra', 'tm', 'TSP', and 'vegan') and on Bioconductor (e.g. 'bumphunter', 'DESeq2', 'GenomicAlignments', 'GSVA', 'Rsamtools', 'scater', 'scuttle', 'SingleCellExperiment', and 'sva').

Authors:Henrik Bengtsson [aut, cre, cph]

futurize_1.2.0-9000.tar.gz
futurize_1.2.0-9000.zip(r-4.7-any)futurize_1.2.0-9000.zip(r-4.6-any)futurize_1.2.0-9000.zip(r-4.5-any)
futurize_1.2.0-9000.tgz(r-4.6-any)futurize_1.2.0-9000.tgz(r-4.5-any)
futurize_1.2.0-9000.tar.gz(r-4.7-any)futurize_1.2.0-9000.tar.gz(r-4.6-any)
futurize_1.2.0-9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
futurize/json (API)

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

Bug tracker:https://github.com/futureverse/futurize/issues

Pkgdown/docs site:https://futurize.futureverse.org

On CRAN:

Conda:

futurefutureverseparallel-programmingtranspiler

11.51 score 32 stars 2 packages 383 scripts 2.3k downloads 5 exports 5 dependencies

Last updated from:479f27ebd9 (on develop). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK389
source / vignettesOK312
linux-releaseOK497
macos-releaseOK364
macos-oldrelOK399
windows-develOK434
windows-releaseOK349
windows-oldrelOK410
wasm-releaseOK200

Exports:futurizefuturize_optionsfuturize_supported_functionsfuturize_supported_packagesfz

Dependencies:codetoolsfutureglobalslistenvparallelly

Parallelize base-R apply functions
TL;DR | Introduction | Kernel smoothing | Supported Functions | Progress Reporting via progressify | Known issues

Last update: 2026-11-17
Started: 2025-09-20

Parallelize 'bumphunter' functions
TL;DR | Introduction | Example: Finding bumps in parallel | Smoothing | Parallel random number generation | Supported Functions

Last update: 2026-11-17
Started: 2026-11-17

Parallelize 'caret' functions
TL;DR | Introduction | Example: Training a random forest with cross-validation | Supported Functions

Last update: 2026-11-16
Started: 2025-09-21

Parallelize 'ez' functions
TL;DR | Introduction | Example: Bootstrap resampling | Example: Permutation testing | Supported Functions

Last update: 2026-11-16
Started: 2026-06-05

Parallelize 'foreach' functions
TL;DR | Introduction | Supported Functions | Progress Reporting via progressify

Last update: 2026-11-16
Started: 2025-09-20

Parallelize 'fwb' functions
TL;DR | Introduction | Example: Fractional weighted bootstrap | Example: Bootstrap variance-covariance matrix | Supported Functions

Last update: 2026-11-16
Started: 2026-03-18

Parallelize 'gamlss' functions
TL;DR | Introduction | Example: k-fold cross-validation | Example: Drop terms from a model | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-03-17

Parallelize 'glmnet' functions
TL;DR | Introduction | Example: Cross-validation for regularized regression | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2025-09-21

Parallelize 'kernelshap' functions
TL;DR | Introduction | Example: Computing Kernel SHAP values in parallel | Example: Computing permutation SHAP values in parallel | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-03-16

Parallelize 'mlr3' functions
TL;DR | Introduction | Example: Cross-validating a learner | Example: Benchmarking multiple learners | Details | Supported Functions

Last update: 2026-11-16
Started: 2026-11-11

Parallelize 'mlr3tuning' functions
TL;DR | Introduction | Example: Tuning a learner | Example: Nested resampling | Details | Supported Functions

Last update: 2026-11-16
Started: 2026-11-11

Parallelize 'modelsummary' functions
TL;DR | Introduction | Supported Functions

Last update: 2026-11-16
Started: 2026-05-26

Parallelize 'parameters' functions
TL;DR | Introduction | Example: Bootstrapping a linear model | Example: Bootstrapped parameters summary | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-05-13

Parallelize 'partykit' functions
TL;DR | Introduction | Example: Conditional variable importance | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-02-19

Parallelize 'pls' functions
TL;DR | Introduction | Example: PLS Regression with Cross-Validation | Example: Stand-alone Cross-Validation | Supported Functions | Without futurize: Manual 'pls.options' setup

Last update: 2026-11-16
Started: 2026-05-12

Parallelize 'purrr' functions
TL;DR | Introduction | Supported Functions | Progress Reporting via progressify

Last update: 2026-11-16
Started: 2025-09-20

Parallelize 'pvclust' functions
TL;DR | Introduction | Example: Hierarchical clustering with p-values | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-05-13

Parallelize 'riskRegression' functions
TL;DR | Introduction | Example: Bootstrap cross-validation with Score() | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-03-16

Parallelize 'rugarch' functions
TL;DR | Introduction | Example: Rolling GARCH estimation | Example: GARCH parameter distribution | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-05-15

Parallelize 'sandwich' functions
TL;DR | Introduction | Example: Clustered bootstrap covariance matrix | Supported Functions | Without futurize: Manual setup

Last update: 2026-11-16
Started: 2026-05-15

Parallelize 'seriation' functions
TL;DR | Introduction | Example: Seriate best | Supported Functions

Last update: 2026-11-16
Started: 2026-02-21

Parallelize 'shapr' functions
TL;DR | Introduction | Example: Computing Shapley values in parallel | Supported Functions

Last update: 2026-11-16
Started: 2026-03-15

Parallelize 'Sim.DiffProc' functions
TL;DR | Introduction | Example: Monte Carlo simulation of SDEs | Supported Functions

Last update: 2026-11-16
Started: 2026-06-05

Parallelize 'SuperLearner' functions
TL;DR | Introduction | Example: Cross-Validated Super Learner | Supported Functions

Last update: 2026-11-16
Started: 2026-06-05

Parallelize 'terra' functions
TL;DR | Introduction | Example: Parallelizing a moving-window calculation | Example: Parallelizing a tiled raster operation | Example: Applying a function cell-by-cell or predicting from a model | Supported Functions

Last update: 2026-11-16
Started: 2026-10-18

Parallelize 'TSP' functions
TL;DR | Introduction | Example: | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-02-28

Parallelize 'vegan' functions
TL;DR | Introduction | Example: MRPP | Example: anova() for 'cca' objects | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-16
Started: 2026-03-06

Parallelize 'lme4' functions
TL;DR | Introduction | Example: Fitting with multiple optimizers | Example: Parametric bootstrap | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-11-12
Started: 2025-09-21

Parallelize 'GSVA' functions
TL;DR | Introduction | Example: Running gsva() in parallel | Other enrichment methods | Rank-based functions | Supported Functions

Last update: 2026-10-25
Started: 2026-03-15

Parallelize 'DiceKriging' functions
TL;DR | Introduction | Example: kriging model with multi-start optimization | Supported Functions

Last update: 2026-06-05
Started: 2026-06-05

Parallelize 'scater' functions
TL;DR | Introduction | Example: Running PCA in parallel | Supported Functions

Last update: 2026-05-14
Started: 2026-03-14

Parallelize 'scuttle' functions
TL;DR | Introduction | Example: Computing per-feature QC metrics in parallel | Supported Functions

Last update: 2026-05-14
Started: 2026-03-16

Parallelize 'SingleCellExperiment' functions
TL;DR | Introduction | Example: Computing per-feature QC metrics in parallel | Supported Functions

Last update: 2026-05-14
Started: 2026-03-16

Parallelize 'BiocParallel' functions
TL;DR | Introduction | Supported Functions | Bioconductor packages using BiocParallel | Progress Reporting via progressify

Last update: 2026-05-08
Started: 2025-09-20

Parallelize 'pbapply' functions
TL;DR | Introduction | Example: Parallel lapply with progress bar | Example: Parallel sapply with progress bar | Supported Functions | Without futurize: Manual PSOCK cluster setup | Progress Reporting via progressify

Last update: 2026-05-08
Started: 2026-03-18

Parallelize 'plyr' functions
TL;DR | Introduction | Supported Functions | Progress Reporting via progressify

Last update: 2026-05-08
Started: 2025-09-20

Parallelize 'crossmap' functions
TL;DR | Introduction | Supported Functions

Last update: 2026-04-28
Started: 2025-09-20

Parallelize 'boot' functions
TL;DR | Introduction | Example: Bootstrap sampling | Example: Time series bootstrap | Example: Bootstrap for censored data | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-04-26
Started: 2025-09-21

Parallelize 'stars' functions
TL;DR | Introduction | Example: Applying a function across dimensions | Supported Functions

Last update: 2026-04-03
Started: 2026-04-03

Parallelize 'DESeq2' functions
TL;DR | Introduction | Example: Running DESeq() in parallel | Supported Functions

Last update: 2026-03-18
Started: 2026-03-14

Parallelize 'fgsea' functions
TL;DR | Introduction | Example: Running fgseaSimple() in parallel | Supported Functions

Last update: 2026-03-18
Started: 2026-03-15

Parallelize 'GenomicAlignments' functions
TL;DR | Introduction | Example: Running summarizeOverlaps() in parallel | Supported Functions

Last update: 2026-03-18
Started: 2026-03-15

Parallelize 'glmmTMB' functions
TL;DR | Introduction | Example: Likelihood profile | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-03-18
Started: 2026-03-07

Parallelize 'metafor' functions
TL;DR | Introduction | Example: Likelihood profile for a random-effects model | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-03-18
Started: 2026-03-16

Parallelize 'mgcv' functions
TL;DR | Introduction | Example: Fitting a Big Additive Model | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-03-18
Started: 2026-01-15

Parallelize 'Rsamtools' functions
TL;DR | Introduction | Example: Counting reads across multiple BAM files in parallel | Supported Functions

Last update: 2026-03-18
Started: 2026-03-16

Parallelize 'SimDesign' functions
TL;DR | Introduction | Example: Monte Carlo simulation | Supported Functions

Last update: 2026-03-18
Started: 2026-03-16

Parallelize 'strucchange' functions
TL;DR | Introduction | Example: Finding breakpoints in time-series data | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-03-18
Started: 2026-02-18

Parallelize 'sva' functions
TL;DR | Introduction | Example: Running ComBat() in parallel | Using ComBat() with a model matrix | Supported Functions

Last update: 2026-03-18
Started: 2026-03-16

Parallelize 'tm' functions
TL;DR | Introduction | Example: Transforming a text corpus | Supported Functions | Without futurize: Manual PSOCK cluster setup

Last update: 2026-03-18
Started: 2025-09-21

Readme and manuals

Help Manual

Help pageTopics
Turn common R function calls into concurrent calls for parallel evaluationfuturize fz
Options controlling resources, scheduling and evaluation of futuresfuturize_options
List packages and functions supporting futurizationfuturize_supported_functions futurize_supported_packages
Options used by futurizefuturize.debug futurize.enable futurize.options R_FUTURIZE_DEBUG R_FUTURIZE_ENABLE zzz-futurize.options