How to Install and Uninstall r-cran-foreach Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 06,2024

1. Install "r-cran-foreach" package

This tutorial shows how to install r-cran-foreach on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "r-cran-foreach" package

Please follow the guidance below to uninstall r-cran-foreach on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the r-cran-foreach package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: r-cran-foreach
Priority: optional
Section: universe/gnu-r
Installed-Size: 581
Maintainer: Ubuntu Developers
Original-Maintainer: Dirk Eddelbuettel
Architecture: all
Version: 1.4.3-1
Depends: r-base-core (>= 3.2.2-1), r-api-3, r-cran-codetools, r-cran-iterators
Filename: pool/universe/r/r-cran-foreach/r-cran-foreach_1.4.3-1_all.deb
Size: 371084
MD5sum: 7a738f2e183ab100c358372e03cb730a
SHA1: 89317b3d6a9f5455a4ace817fc799cfcddd5f36b
SHA256: 7e94cf432ccba98d0759e967b40903969ddbbc703c7a10c742669caaaec2b538
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
Homepage: http://cran.r-project.org/web/packages/foreach/index.html
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu