How to Install and Uninstall r-cran-foreach Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 16,2024

1. Install "r-cran-foreach" package

Please follow the steps below to install r-cran-foreach on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "r-cran-foreach" package

Please follow the step by step instructions below to uninstall r-cran-foreach on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the r-cran-foreach package on Ubuntu 20.10 (Groovy Gorilla)

Package: r-cran-foreach
Architecture: all
Version: 1.5.0-2
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.0.20200528-1), r-api-4.0, r-cran-codetools, r-cran-iterators
Filename: pool/universe/r/r-cran-foreach/r-cran-foreach_1.5.0-2_all.deb
Size: 120152
MD5sum: de6987ac86f2a9408e4d23f541944bb4
SHA1: c01e4d4dc1f299c2917568d2c31bf4efb781ee2c
SHA256: 8beb2d694f617ed432d352a6af6f629cc1fb792f9d5d27a5ec72ad4e1fca71bb
SHA512: 32a1637b2ec1b0b721d670a0fc9e57d886b05b43cfa52d48b60a4dca03d61e6f39a754868ba7f7806222a7f7abd186a70a8e58bc13c0c88f572c5aac7124dea8
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