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.

Documentation

Manual: foreach.pdf
Vignettes:

Maintainer: Rich Calaway <richcala at microsoft.com>

Author(s): Rich Calaway*, Revolution Analytics*, Steve Weston*

Install package and any missing dependencies by running this line in your R console:

install.packages("foreach")

Depends R (>= 2.5.0)
Imports codetools, utils, iterators
Suggests randomForest
Enhances compiler, doMC, RUnit, doParallel
Linking to
Reverse
depends
biganalytics, cffdrs, clustvarsel, cubfits, Diderot, DNMF, doFuture, doMC, doMPI, doParallel, doRedis, doRNG, doSNOW, eiCompare, EmiStatR, GA, gam, gamsel, GAparsimony, gdm, GenCAT, GiNA, glmnet, gmDatabase, gofCopula, gpmap, hdlm, hzar, idmTPreg, integIRTy, JWileymisc, LEANR, localgauss, MAVTgsa, mbclusterwise, MEGENA, MetaPCA, MetaQC, missForest, MixRF, MonoInc, multicon, mutSignatures, PAGWAS, parfossil, PAWL, penDvine, permGPU, perspectev, PortfolioAnalytics, QuantumClone, ramsvm, randomGLM, REPTILE, RGBM, Rlda, Rlof, RootsExtremaInflections, RVPedigree, s4vd, sdcTarget, SDDE, selfingTree, SeqKat, sglOptim, simMP, SISIR, sms, spatial.tools, SurvRank, survSNP, TPEA, turboEM, unbalanced, VTrack
Reverse
imports
admixturegraph, ApacheLogProcessor, ashr, assignPOP, BANFF, bastah, BaTFLED3D, BayesBinMix, bayou, bcRep, bdots, BDWreg, benchmarkme, bigstatsr, bingat, biwavelet, bnspatial, boostr, bossMaps, boxoffice, brainGraph, breakpoint, BSGW, bst, BTR, calibrar, cape, caret, Causata, CFC, chemmodlab, ck37r, ClimDown, clogitLasso, Compositional, condSURV, cooccurNet, corr2D, Counterfactual, covmat, CovSelHigh, cytominer, D2C, dartR, dbfaker, DCD, dCovTS, DHARMa, DiffNet, Directional, drtmle, dtwclust, dynetNLAResistance, EasyMARK, ECFsup, ecospat, EFDR, ei, ENMeval, enpls, EnsembleBase, EpiModel, exifr, ezsim, factorcpt, fastLink, fastnet, fdANOVA, fdasrvf, fDMA, FedData, forecastHybrid, FSelectorRcpp, funData, fuzzyforest, gambin, gamCopula, gamreg, gapfill, gbts, gdalUtils, gdpc, GENLIB, GLIDE, grpss, gsynth, GWLelast, GWRM, haploReconstruct, harvestr, hbm, HDCI, hdnom, HDtest, HighDimOut, HMP, HMPTrees, hybridModels, hyperSMURF, icenReg, IDmining, iLaplace, inctools, Information, intamap, intccr, intercure, interflex, InterpretMSSpectrum, iRF, JBTools, JMbayes, JOUSBoost, jpmesh, kdevine, LANDD, ldamatch, LEGIT, lfl, LPR, MAGNAMWAR, mbest, Mediana, metaheur, metricTester, MFPCA, minimaxdesign, misclassGLM, mistral, mma, momentuHMM, Morpho, mpath, mplot, MRFA, msaenet, mstherm, multiApply, mvcwt, MXM, myTAI, NetRep, NMF, npregfast, oem, OmicKriging, opentraj, openwindfarm, optiSel, otrimle, paleoTS, parallelML, parallelSVM, ParetoPosStable, PARSE, pec, pencopulaCond, penRvine, phenex, phenopix, PhyInformR, phylocurve, PhylogeneticEM, PLMIX, polywog, POUMM, preprocomb, preprosim, primerTree, productivity, prospectr, proteomics, prozor, PTE, qrsvm, R2MLwiN, randomUniformForest, rangeMapper, rBayesianOptimization, RcmdrPlugin.FuzzyClust, Rcrawler, redist, regRSM, ReIns, rem, resemble, reval, rFTRLProximal, riskRegression, RKEEL, Rnightlights, robustBLME, robustrao, rolypoly, rprev, RRreg, RSNPset, rstansim, RStoolbox, rusda, semsfa, SGP, shazam, SHLR, SIDES, SimDesign, simPop, siRSM, skpr, spacom, spant, sparr, speaq, spectral.methods, sperich, sperrorest, spmoran, sptemExp, ss3sim, stablespec, StAMPP, stR, survidm, synbreed, taxize, TED, text2vec, tigger, toaster, TriadSim, tsDyn, TSMining, TSP, unsystation, vardpoor, vennLasso, VineCopula, vqtl, VSURF, warbleR, WebGestaltR, WEE, WGCNA, WRTDStidal, YaleToolkit, ykmeans, zebu
Reverse
suggests
antaresRead, BayesFactor, blackbox, combiter, darch, datafsm, data.tree, dcGOR, DEoptim, DiceKriging, dnet, dplR, EGRETci, evolqg, eyetrackingR, FinancialInstrument, fitTetra, FREGAT, fxregime, GMCM, Interatrix, iterpc, itertools, kergp, kselection, lava, merTools, msm, neuroim, NPflow, pbo, plyr, pre, protr, ptycho, RBesT, rDNAse, rioja, ripa, rpg, scanstatistics, simsalapar, Smisc, spaMM, SpatialPosition, StepwiseTest, stremr, strucchange, TcGSA, tmlenet, treatSens, valuer, XGR
Reverse
enhances
Reverse
linking to

Package foreach
Materials
URL
Task Views HighPerformanceComputing
Version 1.4.3
Published 2015-10-13
License Apache License (== 2.0)
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks foreach check results
Package source foreach_1.4.3.tar.gz