Apply Function to Elements in Parallel using Futures

Implementations of apply(), by(), eapply(), lapply(), Map(), .mapply(), mapply(), replicate(), sapply(), tapply(), and vapply() that can be resolved using any future-supported backend, e.g. parallel on the local machine or distributed on a compute cluster. These future_*apply() functions come with the same pros and cons as the corresponding base-R *apply() functions but with the additional feature of being able to be processed via the future framework .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("future.apply")

1.21.0 by Henrik Bengtsson, 14 days ago


https://future.apply.futureverse.org, https://github.com/futureverse/future.apply


Report a bug at https://github.com/futureverse/future.apply/issues


Browse source code at https://github.com/cran/future.apply


Authors: Henrik Bengtsson [aut, cre, cph] (ORCID: , R Core Team [cph, ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports globals, parallel, stats, utils

Depends on future

Suggests datasets, tools, listenv, R.rsp, markdown


Imported by AIPW, ARCHISSUR, ARPALData, BAMBI, BEKKs, BayesFBHborrow, CLIQUE, DQAstats, DRPT, DTEAssurance, EFAtools, EGAnet, EpiModel, FDOTT, FastJM, FracFixR, GPCsign, IVPP, InterconectaR, InterpolateR, JANE, LLMR, LTFGRS, LTFHPlus, LandComp, MDCcure, MetaHD, MixMashNet, OutSeekR, PAMpal, PAMscapes, QBMS, RMSTpowerBoost, RTransferEntropy, RprobitB, Rsolnp, SDModels, SEQTaRget, SemNeT, SemNetCleaner, Seurat, SeuratObject, Signac, SimDesign, SmoothPLS, StochSimR, SuperSurv, TaxaNorm, TesiproV, Tivy, TreeMineR, TrialEmulation, aae.pop, adestr, anovapowersim, ao, aroma.cn, bGMYC4, baskoptr, bayesSSM, bayesics, bbknnR, bifrost, bigDM, bivarhr, blavaan, bmetapred, bolasso, brms, bspcov, cSEM, calmr, canaper, chopin, clickR, codalm, collinear, conformalInference.fd, conformalInference.multi, craftgrn, crystract, deseats, dipsaus, distantia, doFuture, drtmle, dsos, e2tree, fastbioclim, fdacluster, fect, fitlandr, flassomsm, forestsearch, fundiversity, futureverse, gWQS, gaQSAR, gammaFuncModel, genBaRcode, genproc, geocmeans, geohabnet, geomorphR, gooseR, gsDesignTune, haldensify, hbamr, hespdiv, highMLR, iNEXT.beta3D, icomb, iml, ino, irtsim, isopam, ivd, jackknifeR, jpinfect, kappaGold, kernelboot, keyATM, kmeRtone, lava, lightr, lmmprobe, malariaAtlas, mcmcensemble, mcp, metaselection, misl, missSBM, mlr3, mlr3summary, modeltuning, modernBoot, mrIML, mrgsim.parallel, mtarm, nadir, nestedcv, netDFI, neuroim2, nlmixr2utils, oeli, opImputation, optic, optimLanduse, optimizr, origami, outliers.ts.oga, pavo, phylolm, phylopath, plssem, polle, portvine, powRICLPM, qape, qbrms, qgcomp, qgcompint, rBiasCorrection, rSDR, rangeMapper, rapidcodeR, readsdr, readyomics, recforest, refineR, restriktor, robotstxt, rsi, s3fs, sNPLS, scDiffCom, scStability, scov, sctransform, sdbuildR, semtree, seqHMM, shapr, sharp, simglm, sims, smoots, socialSim, solitude, spNetwork, spStack, spatialwarnings, sperrorest, squat, stppSim, supercells, targeted, tidySEM, tramvs, tsdistributions, tsgarch, tsissm, tsmarch, wcswatin, winputall, wizaRdry, wqspt, ycevo.

Depended on by GeoModels, LipidMS, MAMS, eCV, xegaPopulation.

Suggested by AMR, AgePopDenom, AutoMLR, BORG, BayesianMCPMod, CausalMixGPD, CimpleG, DAISIE, EpiNow2, GWPR.light, GeometricMorphometricsMix, LLMRagent, LexFindR, MDaRes, NMAR, PTSDdiag, PeakSegDisk, PsyMetricTools, S3VS, SCGLR, SFHNV, SelectBoost.beta, SelectBoost.gamlss, SurveySolutionsAPIv2, WMAP, WeightIt, ackwards, altdoc, ameras, arkdb, bartisan, bcmaps, bidser, bigPLSR, bioLeak, bsitar, cam2model, causaldef, cellGeometry, choicer, cosmic, ctsem, cvCovEst, datefixR, detectXOR, eyeprocess, fabletools, ferrn, fluxCore, future.batchtools, future.callr, future.mirai, futurize, fwb, ggchangepoint, gllvmTMB, goodpractice, grassr, gsDesignNB, gstat, hdMTD, hero, hydroloom, icarm, imdR, important, inlinedocs, ivmte, janusplot, kgen, lgr, lme4, marginaleffects, matchednull, merTools, metasnf, mfrmr, mikropml, mlr3db, mlr3resampling, modelsummary, mongolstats, multivarious, netOP, nhdplusTools, normref, pairwiseLLM, pbapply, penaltyLearning, phyr, picreg, powergrid, progressify, progressr, ravepipeline, receptiviti, reems, rgeomorphon, ringbp, sdcTable, sdmTMB, sentopics, spaMM, starburst, stars, stenographer, svycoxme, svytest, terra, tidyclust, tune, txshift, vital, wildmeta, xplainfi, zarr, zoomgrid.


See at CRAN