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.4.7
Depends: R (≥ 2.5.0)
Imports: codetools, utils, iterators
Suggests: randomForest
Enhances: compiler, doMC, RUnit, doParallel
Published: 2019-07-27
Author: Hong Ooi [cre], Microsoft [aut, cph], Steve Weston [aut]
Maintainer: Hong Ooi <hongooi at microsoft.com>
License: Apache License (== 2.0)
NeedsCompilation: no
Materials: NEWS
In views: HighPerformanceComputing
CRAN checks: foreach results

Downloads:

Reference manual: foreach.pdf
Vignettes: foreach Manual
Nesting Foreach Loops
Package source: foreach_1.4.7.tar.gz
Windows binaries: r-devel: foreach_1.4.7.zip, r-release: foreach_1.4.7.zip, r-oldrel: foreach_1.4.7.zip
OS X binaries: r-release: foreach_1.4.7.tgz, r-oldrel: foreach_1.4.7.tgz
Old sources: foreach archive

Reverse dependencies:

Reverse depends: adabag, biganalytics, bigparallelr, cffdrs, conformalClassification, crso, cubfits, Diderot, DNMF, doFuture, doMC, doMPI, doParallel, doRedis, doRNG, doSNOW, DTRlearn2, eiCompare, evian, GA, gam, gamsel, GAparsimony, GaussianHMM1d, gdm, genlogis, GiNA, gmDatabase, gofCopula, gpmap, hdlm, HMMcopula, hzar, idmTPreg, IDSpatialStats, integIRTy, JWileymisc, kcpRS, LEANR, localgauss, MAVTgsa, mbclusterwise, MEGENA, MetaPCA, missForest, MixRF, MonoInc, mSimCC, multicon, mutSignatures, PAGWAS, PAWL, penDvine, permGPU, perspectev, poolfstat, PortfolioAnalytics, QuantumClone, ramsvm, randomGLM, REPTILE, RGBM, Rlda, rlfsm, Rlof, RootsExtremaInflections, s4vd, scRNAtools, sdcTarget, SDDE, SEA, selfingTree, sglOptim, simMP, SIMMS, SISIR, sms, sRDA, survSNP, TPEA, turboEM, unbalanced, VTrack, weightQuant
Reverse imports: abcrf, adamethods, ADAPTS, admixturegraph, ADMM, ADMMsigma, aliases2entrez, amber, ApacheLogProcessor, APIS, Arothron, ashr, asremlPlus, assignPOP, astrochron, baggedcv, basket, bastah, BaTFLED3D, BayesBinMix, bayou, bcRep, bdots, BDWreg, benchmarkme, bestNormalize, biclustermd, bigstatsr, bingat, binnednp, bisque, biwavelet, blackbox, blockmodeling, BMTME, bnspatial, boostr, BootstrapQTL, bossMaps, brainGraph, breakpoint, BSGW, BSL, bst, BTR, BuyseTest, BVSNLP, calibrar, CalibratR, cape, caret, CARRoT, catlearn, Causata, CBDA, ccfa, CENFA, CFC, chemmodlab, chicane, clespr, ClimDown, clinDR, clogitLasso, clordr, clustcurv, clustDRM, ClustVarLV, clustvarsel, CNVScope, colocalized, Compositional, condSURV, ConR, conStruct, contextual, cooccurNet, corr2D, Counterfactual, CovSelHigh, CovTools, creditmodel, cutpointr, CVglasso, dartR, dbfaker, DCD, dCovTS, ddsPLS, detrendr, dfConn, DHARMa, DiffNet, Directional, dissever, distantia, dMod, DTDA.cif, dtwclust, dynetNLAResistance, E4tools, earlygating, EasyMARK, ECFsup, EcoGenetics, ecospat, EFDR, EGAnet, EGRET, ei, EmiStatR, ENMeval, enpls, EnsembleBase, EpiModel, equSA, ESTER, ewoc, expose, exuber, ezsim, fabMix, factorcpt, factorEx, fastcmprsk, fastLink, fastnet, fdANOVA, fdasrvf, fDMA, FedData, fiberLD, fitPoly, forecastHybrid, fpmoutliers, FSelectorRcpp, funData, fuzzyforest, gambin, gamCopula, gamm4.test, gamreg, gapfill, gbts, gdalUtils, gdpc, GENLIB, gestate, GGIR, GLIDE, glmaag, glmm, glmnet, GMMAT, GPM, groupedSurv, grpss, gscaLCA, gsynth, GWEX, GWLelast, GWRM, haploReconstruct, hbm, hdbinseg, HDCI, hdnom, HDtest, HEMDAG, hettx, HextractoR, HighDimOut, HIMA, hindex, HMP, HMPTrees, hybridModels, icenReg, IDmining, IMAGE, iml, inctools, Information, Infusion, intamap, intccr, intercure, interflex, InterpretMSSpectrum, iprior, iRF, isocat, iZID, JBTools, JMbayes, joineRML, JointAI, JOUSBoost, kdevine, kernhaz, knnp, KScorrect, LANDD, lass0, LCAvarsel, ldamatch, LeArEst, LEGIT, lfl, loggle, logiBin, lpirfs, lsbclust, LUCIDus, MachineShop, MAGNAMWAR, MarketMatching, marqLevAlg, mase, mazeinda, mbest, Mediana, merTools, metaheur, metricTester, metsyn, MFPCA, mgwrsar, mimi, minimaxdesign, misclassGLM, missMDA, mistral, mixggm, ML.MSBD, MlBayesOpt, mlbgameday, mma, moc.gapbk, momentuHMM, Morpho, mpath, mplot, MRFA, mrMLM, mrMLM.GUI, msaenet, MSPRT, mSTEM, mstherm, multiApply, multimark, MultipleBubbles, multiviewtest, mvcwt, MXM, myTAI, NetRep, NetworkDistance, NetworkToolbox, NMF, npregfast, oak, odpc, oem, OmicKriging, opentraj, optiSel, OSTSC, otrimle, packMBPLSDA, paleoTS, parallelML, parallelSVM, ParBayesianOptimization, ParetoPosStable, PARSE, pathfindR, pec, pencopulaCond, personalized, phenex, phenofit, phenopix, PhyInformR, phylocurve, PhylogeneticEM, PINSPlus, PLMIX, polymapR, polywog, portfolioBacktest, POUMM, PQLseq, preprocomb, preprosim, primerTree, productivity, ProFound, prospectr, proteomics, prozor, psgp, psymonitor, PTE, pterrace, PUlasso, qad, qrsvm, QTL.gCIMapping, QTL.gCIMapping.GUI, QUALYPSO, qualypsoss, R2MLwiN, randomUniformForest, rangeMapper, rayshader, rBayesianOptimization, rcarbon, RcmdrPlugin.FuzzyClust, Rcrawler, redist, regRSM, ReIns, rem, rENA, resemble, reval, riskRegression, RKEEL, RMixtCompIO, RMTL, Rnmr1D, RNOmni, robustBLME, robustrao, rolypoly, rrepast, RRphylo, RRreg, rrscale, rSHAPE, RSNPset, rsppfp, RStoolbox, rusda, RZooRoH, santaR, SAVER, scBio, scoper, SCOR, scorecard, SCPME, secsse, segmentr, segMGarch, SemNeT, semsfa, sen2r, sentometrics, SGP, shazam, SIDES, sigminer, SimDesign, simPop, skpr, skyscapeR, SLEMI, smacof, smam, spacom, spant, sparr, SparseMDC, spatial.tools, speaq, spectral.methods, sperich, sperrorest, spmoran, sptemExp, ss3sim, Sstack, stablespec, StAMPP, staRdom, stR, stUPscales, survidm, synbreed, taxize, TED, telefit, tempoR, TestDesign, text2vec, TGS, tigger, trackeR, trackeRapp, TriadSim, tsDyn, tsensembler, TSMining, tsmp, TSP, tuts, ubiquity, ukbtools, unsystation, updog, varclust, vardpoor, vennLasso, VICmodel, viewshed3d, VineCopula, vqtl, VSURF, WebGestaltR, WEE, WGCNA, windfarmGA, worldmet, WRTDStidal, xray, YaleToolkit, ykmeans, zebu, ZIPFA
Reverse suggests: AdaptGauss, antaresRead, arrangements, batchtools, bayesboot, BayesFactor, betapart, CircSpaceTime, clustermq, combiter, CPAT, data.tree, datafsm, datapackage.r, dcGOR, DEoptim, DiceKriging, dnet, dplR, drtmle, epiGWAS, evolqg, eyetrackingR, FinancialInstrument, fitTetra, FixedPoint, fxregime, ggroups, GMCM, greybox, hsdar, Interatrix, intkrige, iterators, iterpc, itertools, kergp, kselection, lava, lavaSearch2, MKmisc, msm, NetMix, neuroim, NPflow, pbo, plyr, pre, protr, ptycho, R.SamBada, RBesT, rDNAse, rioja, robustbase, rpg, scanstatistics, simsalapar, Smisc, spaMM, SpatialPosition, steps, StepwiseTest, strucchange, tableschema.r, TcGSA, treedater, valuer, XGR

Linking:

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