How to Install and Uninstall r-cran-foreach Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "r-cran-foreach" package

Learn how to install r-cran-foreach on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install r-cran-foreach

2. Uninstall "r-cran-foreach" package

Please follow the guidelines below to uninstall r-cran-foreach on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove r-cran-foreach $ sudo apt autoclean && sudo apt autoremove

3. Information about the r-cran-foreach package on Ubuntu 21.10 (Impish Indri)

Package: r-cran-foreach
Architecture: all
Version: 1.5.1-1
Priority: optional
Section: universe/gnu-r
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dirk Eddelbuettel
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 385
Depends: r-base-core (>= 4.0.3-1), r-api-4.0, r-cran-codetools, r-cran-iterators
Filename: pool/universe/r/r-cran-foreach/r-cran-foreach_1.5.1-1_all.deb
Size: 120040
MD5sum: b5ae4c15dff16fdd2e3d895658bbaf13
SHA1: 69001448d6f0ce5686a88871189a8137d3bace3c
SHA256: b547ea19022e15893e76ea6c7e371c6c24efd068ab9aef6fecfe72f84f51db61
SHA512: bf420a5d63d4811a19c2e5eecb60cf7cf9537f6494b2889d9098ff27f4cfdd12a57410faa07e8aac519f44e4b1653031048dff8602a1f429886b79d6775bb7f6
Homepage: https://cran.r-project.org/package=foreach
Description-en: GNU R foreach looping support
This package provides 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.
Description-md5: 580172b74884d558cd1870f5e139984a