Other packages > Find by keyword >

foreach  

Provides Foreach Looping Construct
View on CRAN: Click here


Download and install foreach package within the R console
Install from CRAN:
install.packages("foreach")

Install from Github:
library("remotes")
install_github("cran/foreach")

Install by package version:
library("remotes")
install_version("foreach", "1.5.2")



Attach the package and use:
library("foreach")
Maintained by
Folashade Daniel
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2009-06-27
Latest Update: 2022-02-02
Description:
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.
How to cite:
Folashade Daniel (2009). foreach: Provides Foreach Looping Construct. R package version 1.5.2, https://cran.r-project.org/web/packages/foreach. Accessed 22 Dec. 2024.
Previous versions and publish date:
1.2.0-1 (2009-06-27 10:16), 1.2.1 (2009-06-30 08:55), 1.3.0 (2009-10-06 08:56), 1.3.2 (2011-05-20 14:05), 1.3.4 (2012-03-13 07:38), 1.3.5 (2012-03-14 21:35), 1.4.0 (2012-04-16 08:09), 1.4.1 (2013-06-06 19:39), 1.4.2 (2014-04-11 07:52), 1.4.3 (2015-10-13 09:12), 1.4.4 (2017-12-12 23:37), 1.4.7 (2019-07-28 01:00), 1.4.8 (2020-02-09 21:30), 1.5.0 (2020-03-30 14:10), 1.5.1 (2020-10-15 07:00)
Other packages that cited foreach R package
View foreach citation profile
Other R packages that foreach depends, imports, suggests or enhances
Complete documentation for foreach
Functions, R codes and Examples using the foreach R package
Some associated functions: foreach-ext . foreach-package . foreach . getDoParWorkers . getDoSeqWorkers . registerDoSEQ . setDoPar . setDoSeq . 
Some associated R codes: callCombine.R . do.R . foreach-ext.R . foreach-pkg.R . foreach.R . getDoPar.R . getDoSeq.R . getsyms.R . iter.R . nextElem.R . onLoad.R . setDoPar.R . setDoSeq.R . times.R . utils.R .  Full foreach package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA