The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
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[@]metanet.ch.

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
DOI: 10.32614/CRAN.package.foreach
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, baggingbwsel, bayesreg, biganalytics, bigparallelr, bigSurvSGD, 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, HMMcopula, IDSpatialStats, 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, rSWeeP, 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, abn, 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, AZIAD, BaalChIP, baclava, bagged.outliertrees, BANDITS, basket, baskexact, basksim, BayesBinMix, bayesCureRateModel, BayesfMRI, BayesianPlatformDesignTimeTrend, bayNorm, bcf, bdc, BDWreg, BeeGUTS, benchmarkme, BERT, bestNormalize, betaclust, betaHMM, 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, CDatanet, cdcatR, cdmTools, celda, cellbaseR, cemco, CFC, cgaim, chicane, CHRONOS, cia, CICI, CIMTx, CIpostSelect, circularEV, clespr, clinDR, clordr, ClusROC, ClustAll, ClustAssess, clustcurv, Clustering, ClusterVAR, ClustVarLV, clustvarsel, CNVPanelizer, CNVScope, cogena, CohortPlat, cola, colocalized, comapr, COMMA, COMPASS, ComplexHeatmap, Compositional, CompositionalML, CompositionalRF, condSURV, CONFESS, confintROB, CoNI, conleyreg, conStruct, contsurvplot, CopernicusDEM, CopulaCenR, copyseparator, corr2D, Counterfactual, covdepGE, CovTools, CoxICPen, cpfa, cpi, cpmBigData, CptNonPar, creditmodel, CRImage, crlmm, crosstalkr, crt2power, CRTConjoint, csa, cutpointr, cv, CVglasso, cvwrapr, cytominer, DAISIE, DAPAR, dartR, dartR.base, dartR.sexlinked, dataprep, DatastreamDSWS2R, dcanr, dCovTS, DCSmooth, deconvR, deepgp, DegNorm, DEGRE, DEHOGT, deltaccd, dendroNetwork, depCensoring, 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, easy.glmnet, EBASE, ecocbo, ecoCopula, econet, ecospat, EFDR, EGRET, ei, eicm, EmiStatR, eNchange, ENMeval, enmpa, enmSdmX, enpls, EnsembleBase, envi, EpiMix, EpiModel, EpiSemble, epizootic, ESTER, EstimDiagnostics, Euclimatch, evapoRe, EventPointer, evinf, ewoc, EWSmethods, ExpImage, extBatchMarking, ExtremalDep, ExtrPatt, exuber, ezCutoffs, fabisearch, fabMix, FairMclus, fastcmprsk, fastLink, fastml, fastnet, fastshap, FastStepGraph, FAVAR, fcScan, fda.usc, fdaMocca, fdANOVA, fdaSP, fdasrvf, fDMA, fect, FGLMtrunc, fHMM, fiberLD, FilterFFPE, finnts, fitPoly, flintyR, florabr, FLORAL, FMM, fnets, forecastHybrid, forensIT, FourWayHMM, FSelectorRcpp, fsemipar, FuncNN, funData, funGp, FuzzyClass, fuzzyforest, fxTWAPLS, GAGBLUP, GALLO, gambin, gamCopula, gamlss.ggplots, gamreg, gamsel, gapclosing, gapfill, GB5mcPred, gbts, gdm, gdpc, GeDS, geeVerse, GENLIB, GenomAutomorphism, GenoPop, GenoTriplo, GEOfastq, GeoFIS, GeoModels, geoTS, gep2pep, gestate, GFDmcv, gfiExtremes, GGIR, GGMnonreg, GGoutlieR, glmm, glmnet, glmtlp, glmtrans, gmGeostats, GmicR, GMMAT, gmtFD, gofCopula, GOpro, GPM, graphicalEvidence, gratis, groupedSurv, growthcleanr, gsbm, gscaLCA, GSgalgoR, gsrs, gsynth, GUniFrac, GWEX, GWLelast, GWpcor, GWRM, handwriter, HaploCatcher, HarmonizR, hdbinseg, HDCI, hdcuremodels, hdmed, hdnom, HEMDAG, heterocop, hettx, HextractoR, hiAnnotator, highd2means, HIMA, hindex, hlt, HMP, HMPTrees, HonestDiD, hscovar, hwep, hybridModels, hyperbolicDEA, hypervolume, iBART, icardaFIGSr, iccTraj, icenReg, IceSat2R, IDmining, IETD, IFAA, ihclust, ILoReg, imabc, imageseg, imanr, 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, kmcut, 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, LSEbootLS, LWFBrook90R, M3C, mable, MachineShop, MAGEE, MAGMA.R, MAGNAMWAR, MAI, MarketMatching, Markovchart, marqLevAlg, MarZIC, matchFeat, MatrixHMM, MatrixMixtures, MAZE, mazeinda, mbest, mclustAddons, mcmsupply, MCPModBC, MCPtests, MDBED, MDDC, Mediana, MedianaDesigner, Melissa, MERO, merTools, messina, metadeconfoundR, metaplus, meteo, MethylMix, metsyn, mevr, 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, moc.gapbk, modACDC, modeltime, modeltime.ensemble, moderate.mediation, momentuHMM, monoClust, mop, moreparty, Morpho, mpath, MPI, mplot, mpower, MRFA, mrMLM, mrMLM.GUI, MSA2dist, msaenet, MSCquartets, MSinference, mslp, MSmix, MSnID, MSPRT, msPurity, mSTEM, MSTest, mstherm, mtlgmm, multiApply, multiFANOVA, multilevelcoda, multilevLCA, multinomialLogitMix, MultipleBubbles, MultIS, MUVR2, mvhtests, mvMAPIT, mvs, mzID, NAP, NCA, NCC, nebula, nestedcv, nestedmodels, netcom, 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, optiSel, ORION, ormBigData, otrimle, packMBPLSDA, PADOG, paleoTS, PanelMatch, parafac4microbiome, paramsim, ParBayesianOptimization, 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, poems, 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, PUGMM, PUlasso, purgeR, PWEXP, qfa, QTL.gCIMapping, QTL.gCIMapping.GUI, qtlpoly, QuadratiK, quantro, quickNmix, QurvE, R2MLwiN, RABR, RaJIVE, randomLCA, randomUniformForest, rapidsplithalf, RaSEn, rassta, rasterdiv, rayshader, rBayesianOptimization, Rbec, rcarbon, rcontroll, Rcpi, Rcrawler, rechaRge, reddPrec, redist, redistmetrics, refreg, regda, regDIF, regRSM, ReIns, relgam, rem, remiod, remotePARTS, REMP, REN, rENA, ReporterScore, representr, resemble, ResIN, rgenius, RGMM, rGREAT, RHRV, RHybridFinder, riAFTBART, 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, rsides, rsppfp, runexp, RZooRoH, SAMGEP, santaR, sars, SAVER, SC3, scBio, scCB2, scDHA, scMultiSim, SCOPE, scoper, SCOR, scorecard, SCORNET, scpi, scRecover, seeker, segmentr, segMGarch, segtest, SemiPar.depCens, semsfa, semverutils, sensitivity, SenTinMixt, sentometrics, sephora, seqimpute, seriation, serocalculator, SGP, SharkDemography, shazam, shinyepico, ShortForm, SIDES, SimFFPE, simphony, simPop, SimSurvey, simtrial, SingleCellSignalR, singleRcapture, sivs, skipTrack, 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, SSLR, ssMRCD, Sstack, stablespec, stacks, StAMPP, staRdom, starvars, STATegRa, statgenMPP, statgenQTLxT, statGraph, stfit, stgam, StochBlock, stR, sts, sureLDA, survidm, SurvSparse, survstan, TAG, TCIU, tclust, TDApplied, tehtuner, TEKRABber, telefit, templateICAr, TempStable, TestDesign, text2map, TGS, tidyclust, tidytof, 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, VertexWiseR, VIC5, vip, viscomplexr, vmeasur, voiceR, VSURF, VUROCS, wavClusteR, WaverideR, WebGestaltR, WeightedCluster, WGCNA, worldmet, WRTDStidal, wxgenR, xcore, xray, xrnet, YaleToolkit, ZIPFA
Reverse suggests: AdaptGauss, ade4, admix, agcounts, AlignLV, antaresRead, arrangements, azuremlsdk, batchtools, bayesboot, BayesFactor, binomialRF, BiocParallel, biopixR, 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, 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, pctax, pcutils, plyr, pre, progressr, projpred, protr, ptycho, RAINBOWR, RBesT, rcellminer, RcisTarget, RCTS, rioja, Rlgt, rlibkriging, RnBeads, robustbase, rSPDE, safe, SAMprior, scanstatistics, semPower, sgsR, simDAG, simsalapar, smooth, spaMM, sparklyr, SpatialPosition, spBPS, ssdtools, steps, StepwiseTest, strucchange, strucchangeRcpp, SuRF.vs, swag, tableschema.r, TcGSA, 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.