foreach (1.4.8)

12 users

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.

Maintainer: Hong Ooi
Author(s): Hong Ooi [cre], Microsoft [aut, cph], Steve Weston [aut]

License: Apache License (== 2.0)

Uses: codetools, iterators, randomForest, doMC, testthat, doParallel, knitr, rmarkdown
Reverse depends: adabag, alineR, BANFF, bcp, bcRep, biganalytics, bigparallelr, boxoffice, caret, cffdrs, clustvarsel, conformalClassification, crso, crypto, cubfits, datanugget, Diderot, DNMF, doFuture, doRNG, DTRlearn2, dtwclust, eiCompare, EmiStatR, evian, ezsim, fdasrvf, flip, forecastHybrid, GA, gam, gamsel, GAparsimony, GaussianHMM1d, gdm, GenCAT, genlogis, GiNA, glmnet, gmDatabase, gofCopula, hdlm, HMMcopula, hzar, icenReg, idmTPreg, IDSpatialStats, integIRTy, jaatha, JWileymisc, kcpRS, lfe, localgauss, mbclusterwise, MEGENA, MetaPCA, MetaQC, missForest, MixRF, MonoInc, Morpho, mrMLM, mrMLM.GUI, mSimCC, mutSignatures, PAGWAS, ParBayesianOptimization, parfossil, PAWL, penDvine, permGPU, perspectev, poolfstat, PortfolioAnalytics, QTL.gCIMapping, QTL.gCIMapping.GUI, QuantumClone, ramsvm, randomGLM, RbioRXN, remote, REPTILE, RGBM, Rlda, rlfsm, Rlof, RootsExtremaInflections, RVPedigree, s4vd, scRNAtools, sdcTarget, SDDE, SEA, sentometrics, SeqKat, sglOptim, SGP, SIDES, simMP, SIMMS, SISIR, sms, sommer, spacom,, sRDA, StAMPP, survSNP, TPEA, tsDyn, tsmp, turboEM, unbalanced, weightQuant, WGCNA
Reverse suggests: AdaptGauss, antaresRead, aqp, arrangements, batchtools, bayesboot, BayesFactor, Bclim, betapart, biganalytics, binomialRF, blackbox, blockmodeling, caret, CircSpaceTime, clustermq, cMonkey, combiter, CPAT, darch, data.tree, datafsm, datapackage.r, dcGOR, DEoptim, DiceKriging, diveRsity, dnet, dplR, drtmle, EGRETci, epiGWAS, evolqg, eyetrackingR, FinancialInstrument, fitTetra, FixedPoint, FREGAT, fxregime, GA, gam, GeneralTree, ggmcmc, ggroups, glmnet, GMCM, greybox, harvestr, HMPTrees, hsdar, imputation, Infusion, Interatrix, intkrige, iterators, iterpc, itertools, JWileymisc, kaps, kergp, lava, lavaSearch2, merTools, MKmisc, msm, MSToolkit, NetMix, neuroim, NPflow, pec, phenex, plyr, polywog, pre, ProFit, progressr, protr, ptycho, R.SamBada, RBesT, rDNAse, rioja, ripa, robustbase, rpg, sail, scanstatistics, simsalapar, Smisc, spaMM, SpatialPosition, SpatPCA, sperich, spew, steps, StepwiseTest, stremr, strucchange, tableschema.r, TcGSA, tmlenet, treatSens, treedater, valuer, XGR
Reverse enhances: itertools

Released 14 days ago.

12 previous versions



  4.6/5 (10 votes)


  4.0/5 (9 votes)

Log in to vote.


No one has written a review of foreach yet. Want to be the first? Write one now.

Related packages: doSNOW, snow, snowfall, doMC, BatchJobs, BatchExperiments, doRNG, RInside, OpenCL, dclone, aprof, bcp, biglm, bigmemory, bnlearn, caret, data.table, ff, GAMBoost, HadoopStreaming(20 best matches, based on common tags.)

Search for foreach on google, google scholar, r-help, r-devel.

Visit foreach on R Graphical Manual.