The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

foreach: Provides Foreach Looping Construct

Support for the foreach looping construct. Foreach is an idiom that allows for iterating over elements in a collection, without the use of an explicit loop counter. This package in particular is intended to be used for its return value, rather than for its side effects. In that sense, it is similar to the standard lapply function, but doesn't require the evaluation of a function. Using foreach without side effects also facilitates executing the loop in parallel.

Version: 1.5.2
Depends: R (≥ 2.5.0)
Imports: codetools, utils, iterators
Suggests: randomForest, doMC, doParallel, testthat, knitr, rmarkdown
Published: 2022-02-02
Author: Folashade Daniel [cre], Hong Ooi [ctb], Rich Calaway [ctb], Microsoft [aut, cph], Steve Weston [aut]
Maintainer: Folashade Daniel <fdaniel at microsoft.com>
BugReports: https://github.com/RevolutionAnalytics/foreach/issues
License: Apache License (== 2.0)
URL: https://github.com/RevolutionAnalytics/foreach
NeedsCompilation: no
Materials: README NEWS
In views: HighPerformanceComputing
CRAN checks: foreach results

Documentation:

Reference manual: foreach.pdf
Vignettes: foreach
nested

Downloads:

Package source: foreach_1.5.2.tar.gz
Windows binaries: r-devel: foreach_1.5.2.zip, r-release: foreach_1.5.2.zip, r-oldrel: foreach_1.5.2.zip
macOS binaries: r-release (arm64): foreach_1.5.2.tgz, r-oldrel (arm64): foreach_1.5.2.tgz, r-release (x86_64): foreach_1.5.2.tgz, r-oldrel (x86_64): foreach_1.5.2.tgz
Old sources: foreach archive

Reverse dependencies:

Reverse depends: adabag, biganalytics, bigparallelr, bigSurvSGD, biopixR, bumphunter, cellmigRation, CenBAR, cffdrs, changepointTests, cnvGSA, conformalClassification, CopulaInference, CoTiMA, crso, cubfits, datanugget, ddsPLS, Diderot, DNMF, doFuture, doMC, doMPI, doParallel, doRedis, doRNG, doSNOW, drugdevelopR, DTRlearn2, ellipticalsymmetry, ENmix, EPX, evian, fitPS, flowMerge, GA, gam, gamlss.foreach, GAparsimony, GaussianHMM1d, genlogis, GiNA, gmDatabase, gpmap, iIneq, integIRTy, kcpRS, LipidMS, localgauss, MEGENA, MineICA, MixedIndTests, MixRF, MonoInc, Moonlight2R, MoonlightR, mSimCC, mutSignatures, octad, PAGWAS, perms, perspectev, PortfolioAnalytics, R2BEAT, ramr, ramsvm, randomGLM, RegParallel, REPTILE, resilience, RGBM, rlfsm, Rlof, RootsExtremaInflections, RPPASPACE, s4vd, SCAN.UPC, SCdeconR, scRNAtools, SEA, selfingTree, SeqKat, simMP, SIMMS, SISIR, skewMLRM, sms, SpeTestNP, sRDA, sta, survSNP, TPEA, turboEM, vtpnet, weightQuant, yaConsensus
Reverse imports: AATtools, abcrf, adamethods, adapt4pv, adaptDiag, ADAPTS, adductomicsR, adjustedCurves, ADMM, ADMMsigma, AEenrich, ag5Tools, AICcPermanova, aifeducation, aihuman, aliases2entrez, AMARETTO, ANCOMBC, AneuFinder, ApacheLogProcessor, APIS, arf, Arothron, ashapesampler, asremlPlus, assignPOP, astrochron, atakrig, autohrf, autoMrP, autoRasch, autostsm, avotrex, BaalChIP, bagged.outliertrees, BANDITS, basket, baskexact, basksim, BayesBinMix, BayesfMRI, BayesianPlatformDesignTimeTrend, bayNorm, bcf, bdc, BDWreg, benchmarkme, bestNormalize, betaclust, betapart, bhmbasket, biclustermd, BIEN, bigDM, bigergm, bigsnpr, bigstatsr, bingat, biomod2, bisque, biwavelet, blackbox, BlockMissingData, bootcluster, bootPLS, BootstrapQTL, borealis, BPRMeth, brada, brainGraph, breakpoint, breakpointR, BSGW, BSL, bst, bstrl, BuyseTest, bvhar, BVSNLP, C443, calibrar, CalibratR, cape, caret, CARRoT, catlearn, cats, cauchypca, cauphy, causalCmprsk, cbl, ccmap, cdcatR, cdmTools, celda, cellbaseR, cemco, CFC, cgaim, chicane, chromstaR, CHRONOS, CICI, CIMTx, circularEV, clespr, clinDR, clogitLasso, clordr, ClusROC, ClustAssess, Clustering, ClustVarLV, clustvarsel, CNVPanelizer, CNVScope, cogena, CohortPlat, cola, colocalized, comapr, COMPASS, ComplexHeatmap, Compositional, CompositionalML, comradesOO, condSURV, CONFESS, confintROB, CoNI, conleyreg, conStruct, contsurvplot, CopernicusDEM, CopulaCenR, copyseparator, corr2D, Counterfactual, covdepGE, CovTools, CoxICPen, cpfa, cpi, cpmBigData, CptNonPar, creditmodel, CRImage, crlmm, CRTConjoint, csa, cutpointr, cv, CVglasso, cvwrapr, cytominer, DAISIE, DAPAR, dartR, dartR.base, dataprep, DatastreamDSWS2R, dcanr, dCovTS, DCSmooth, deconvR, DeepBlueR, deepgp, DegNorm, DEGRE, deltaccd, DepecheR, detectR, detrendr, diagL1, DiceView, DifferentialRegulation, Dire, Directional, dissever, distantia, distinct, dMod, DMtest, dQTG.seq, drimmR, drugDemand, DTDA, DTDA.cif, dtwclust, dynamAedes, dynetNLAResistance, DynForest, E4tools, earlygating, EBASE, ecocbo, ecoCopula, econet, ecospat, EFDR, EGRET, ei, eicm, EmiStatR, eNchange, ENMeval, enmpa, enmSdmX, enpls, EnsembleBase, envi, EpiMix, EpiModel, EpiSemble, ESTER, EstimDiagnostics, Euclimatch, evapoRe, EventPointer, evinf, ewoc, EWSmethods, extBatchMarking, ExtremalDep, ExtrPatt, exuber, ezCutoffs, fabisearch, fabMix, FairMclus, fastLink, fastnet, fastshap, FastStepGraph, FAVAR, fcScan, fda.usc, fdaMocca, fdANOVA, fdaSP, fdasrvf, fDMA, fect, FGLMtrunc, fHMM, fiberLD, FilterFFPE, finnts, fitPoly, flintyR, FLORAL, FMM, fnets, forecastHybrid, forensIT, FourWayHMM, FSelectorRcpp, FunChIP, FuncNN, funData, funGp, FuzzyClass, fuzzyforest, fxTWAPLS, GAGBLUP, GALLO, gambin, gamCopula, gamlss.ggplots, gamreg, gamsel, gapclosing, gapfill, GB5mcPred, gbts, gdm, gdpc, GeDS, geeVerse, GENLIB, GenomAutomorphism, GenoTriplo, GEOfastq, geoTS, gep2pep, gespeR, gestate, GFDmcv, gfiExtremes, GGIR, GGMnonreg, GGoutlieR, GLIDE, glmm, glmnet, glmtlp, glmtrans, gmGeostats, GmicR, GMMAT, gofCopula, GOpro, GPM, gratis, groupedSurv, growthcleanr, gsbm, gscaLCA, GSgalgoR, gsrs, gsynth, GUniFrac, GWEX, GWLelast, GWpcor, GWRM, handwriter, HaploCatcher, HarmonizR, hdbinseg, HDCI, hdmed, hdnom, HEMDAG, hettx, HextractoR, hiAnnotator, HIMA, hindex, hlt, HMP, HMPTrees, hscovar, hwep, hybridModels, hyperbolicDEA, hypervolume, iBART, icardaFIGSr, iccTraj, icenReg, IceSat2R, IDmining, iemisc, IETD, IFAA, ihclust, ILoReg, imabc, imageseg, IMAS, inctools, infercnv, inferCSN, influential, Information, Infusion, intamap, intccr, InteractionPoweR, interflex, intmed, iprior, IsoBayes, isocat, isoWater, IVAS, ivDiag, iZID, jackknifeR, jackstrap, JMbayes, joineRML, JOUSBoost, jrSiCKLSNMF, jSDM, kdevine, kdry, kernelshap, kernhaz, kfa, kissDE, kko, kmBlock, Kmedians, knnp, KScorrect, LACE, landsepi, latentcor, latrend, lboxcox, LCAvarsel, lcc, ldamatch, ldsep, ldsr, leakyIV, LeArEst, leastcostpath, LEGIT, lfl, lfmm, limorhyde2, LMMstar, lnmCluster, logiBin, LOMAR, LorenzRegression, lpirfs, lqmix, lsbclust, LWFBrook90R, M3C, mable, MachineShop, MAGEE, MAGMA.R, MAGNAMWAR, MAI, MarketMatching, Markovchart, marqLevAlg, MarZIC, matchFeat, MatrixMixtures, MAZE, mazeinda, mbest, mclustAddons, mcmsupply, MCPModBC, MCPtests, MDBED, Mediana, MedianaDesigner, Melissa, MERO, merTools, messina, metagenomeSeq, metaplus, meteo, MethylMix, metsyn, MFPCA, MFSIS, MG1StationaryProbability, mgwrsar, mi4p, miceRanger, MicrobiomeStat, MicrobiotaProcess, midasml, mimi, MiMIR, mina, MinimumDistance, miRspongeR, misclassGLM, missForest, missMDA, misspi, mistral, MJMbamlss, ML.MSBD, mlrv, MLSeq, mmb, mnet, modACDC, modeltime, moderate.mediation, momentuHMM, monoClust, mop, moreparty, Morpho, mpath, MPI, mplot, mpower, MRFA, mrMLM, mrMLM.GUI, MSA2dist, msaenet, MSCquartets, mslp, MSmix, MSnID, MSPRT, msPurity, mSTEM, mstherm, mtlgmm, multiApply, multiFANOVA, multilevLCA, multinomialLogitMix, MultipleBubbles, MultIS, mvhtests, mvMAPIT, mvs, MXM, myTAI, mzID, NADIA, NAP, NCA, NCC, nebula, nestedcv, nestedmodels, netDx, netprioR, NetRep, NetSAM, nett, NetworkDistance, NetworkExtinction, NetworkToolbox, netZooR, NeuroDecodeR, nimbleCarbon, nlstac, NMF, NNS, noisyr, NonParRolCor, nonprobsvy, npcs, npcurePK, npregfast, nprotreg, NRejections, OBL, ODRF, oem, oligoClasses, OmicKriging, opdisDownsampling, openPrimeR, opGMMassessment, optimalFlow, ORION, ormBigData, otrimle, packMBPLSDA, PADOG, paleoTS, paramsim, ParBayesianOptimization, pareg, ParetoPosStable, parglms, parseRPDR, PartialNetwork, PAsso, PAST, pathfindR, pbo, pchc, pdp, peakPantheR, pec, peco, pemultinom, pencal, pencopulaCond, personalized, personalized2part, pGRN, phenex, PhenoGeneRanker, phenopix, phers, PhylogeneticEM, phyloseq, phytools, PINSPlus, pksensi, plasso, pliman, PLMIX, plnr, pmartR, pmparser, PNAR, polymapR, polypharmacy, polyqtlR, polywog, pomdp, poolABC, poolfstat, potential, POUMM, powerPLS, powerTCR, ppcseq, PQLseq, pRecipe, preciseTAD, predhy, predhy.GUI, primerTree, ProcMod, productivity, prospectr, psborrow, psgp, ptairMS, PTE, PUlasso, purgeR, PWEXP, qfa, QTL.gCIMapping, QTL.gCIMapping.GUI, qtlpoly, QuadratiK, quantro, quickNmix, QurvE, R2MLwiN, RABR, RaJIVE, randomLCA, randomUniformForest, RaSEn, rassta, rasterdiv, rayshader, rBayesianOptimization, Rbec, rcarbon, rcontroll, Rcpi, Rcrawler, ReactomeContentService4R, ReactomeGraph4R, reddPrec, redist, redistmetrics, refreg, regda, regDIF, regRSM, ReIns, relgam, rem, remiod, remotePARTS, REMP, rENA, ReporterScore, representr, resemble, rgenius, RGMM, rGREAT, RHybridFinder, RiboDiPA, rifi, rifiComparative, RISCA, riskRegression, riskscores, riverconn, RJcluster, RKEEL, RLumCarlo, RMediation, rmfanova, RMixtCompIO, RMSDp, RMTL, rnaCrosslinkOO, RNAmf, RNAseqCovarImpute, Rnmr1D, RobGARCHBoot, robmixglm, RobRegression, robust2sls, robustBLME, robustrao, Robyn, RolDE, ROptimus, RPDTest, rpm, RprobitB, rrepast, Rrepest, RRphylo, RRreg, RSC, rSHAPE, rsppfp, rTwig, runexp, rusda, RZooRoH, SAMGEP, santaR, sars, SAVER, SC3, scBio, scCB2, scDHA, SCOPE, scoper, SCOR, scorecard, SCORNET, scpi, scRecover, seeker, segmentr, segMGarch, SemiPar.depCens, semsfa, semverutils, sensitivity, SenTinMixt, sentometrics, sephora, seqest, seqimpute, seriation, SGP, SharkDemography, shazam, shinyepico, ShortForm, SIDES, SimDesign, SimFFPE, simphony, simPop, SimSurvey, simtrial, SingleCellSignalR, singleRcapture, sivs, skpr, skyscapeR, SLEMI, SLOPE, smacof, smam, smartsnp, sMSROC, snpAIMeR, SNPannotator, soundgen, spAbundance, sparr, sparrpowR, SparseMDC, spatialRF, SpaTopic, spatPomp, speaq, spectr, sperich, sphunif, SpiceFP, splitSelect, spmoran, spOccupancy, SPONGE, SPUTNIK, ss3sim, SSDM, ssdtools, SSLR, Sstack, stablespec, stacks, StAMPP, staRdom, starvars, STATegRa, statgenMPP, statgenQTLxT, statGraph, stfit, StochBlock, stR, StrucDiv, sureLDA, survidm, SurvSparse, survstan, TAG, taxize, TCIU, tclust, TDApplied, tehtuner, telefit, TempStable, TestDesign, text2map, TGS, tidyclust, tigger, tip, TitanCNA, TopKSignal, TPP, TPP2D, track2KBA, trackeR, trackeRapp, TraMineRextras, transcriptogramer, transfR, treesliceR, TRexSelector, TriadSim, TRONCO, truh, tsDyn, tsensembler, tsmp, TSP, tune, ubiquity, ukbtools, Uniquorn, unsystation, updog, VanillaICE, varclust, vardpoor, varitas, varTestnlme, vectorwavelet, VIC5, vip, viscomplexr, vmeasur, voiceR, VSURF, VUROCS, wavClusteR, WaverideR, WebGestaltR, WeightedCluster, WGCNA, worldmet, WpProj, WRTDStidal, wxgenR, xcore, xray, xrnet, YaleToolkit, ZIPFA
Reverse suggests: AdaptGauss, ade4, admix, agcounts, antaresRead, arrangements, azuremlsdk, batchtools, bayesboot, BayesFactor, binomialRF, BiocParallel, blockmodeling, BloodCancerMultiOmics2017, cardelino, CircSpaceTime, clustermq, combiter, CPAT, data.tree, datafsm, DEoptim, DiceKriging, dispositionEffect, Distance, dplR, drtmle, ecpc, evolqg, eyetrackingR, fdrci, FinancialInstrument, FixedPoint, flowml, fPASS, fxregime, GENIE3, ggroups, GMCM, greybox, Interatrix, InterpretMSSpectrum, intkrige, ISAnalytics, iterators, iterors, iterpc, itertools, JWileymisc, kergp, kfino, kselection, lavaSearch2, legion, limorhyde, lmeresampler, mcgf, MetaNet, MHD, miaSim, mikropml, mixvlmc, MKclass, MKmisc, MoBPS, MOFA2, msm, neuroim, NPflow, paxtoolsr, pctax, pcutils, Pi, plyr, pre, progressr, projpred, protr, ptycho, RAINBOWR, RBesT, rcellminer, RCTS, rDNAse, rioja, rlibkriging, RnBeads, robustbase, rSPDE, safe, SAMprior, scanstatistics, semPower, sgsR, simDAG, simsalapar, smooth, spaMM, sparklyr, SpatialPosition, steps, StepwiseTest, strucchange, strucchangeRcpp, SuRF.vs, swag, tableschema.r, TcGSA, templateICAr, treedater, wflo
Reverse enhances: AUCell, CellNOptR, CNORode

Linking:

Please use the canonical form https://CRAN.R-project.org/package=foreach to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.