How To Install r-cran-future.apply on Ubuntu 20.04
Introduction
In this tutorial we learn how to install r-cran-future.apply on Ubuntu 20.04.
What is r-cran-future.apply
r-cran-future.apply is:
Implementations of apply(), by(), eapply(), lapply(), Map(), mapply(), replicate(), sapply(), tapply(), and vapply() that can be resolved using any future-supported backend, e.g. parallel on the local machine or distributed on a compute cluster. These future_*apply() functions come with the same pros and cons as the corresponding base-R *apply() functions but with the additional feature of being able to be processed via the future framework.
There are three methods to install r-cran-future.apply on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install r-cran-future.apply Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install r-cran-future.apply using apt-get by running the following command:
sudo apt-get -y install r-cran-future.apply
Install r-cran-future.apply Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install r-cran-future.apply using apt by running the following command:
sudo apt -y install r-cran-future.apply
Install r-cran-future.apply Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install r-cran-future.apply using aptitude by running the following command:
sudo aptitude -y install r-cran-future.apply
How To Uninstall r-cran-future.apply on Ubuntu 20.04
To uninstall only the r-cran-future.apply package we can use the following command:
sudo apt-get remove r-cran-future.apply
Uninstall r-cran-future.apply And Its Dependencies
To uninstall r-cran-future.apply and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove r-cran-future.apply
Remove r-cran-future.apply Configurations and Data
To remove r-cran-future.apply configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge r-cran-future.apply
Remove r-cran-future.apply configuration, data, and all of its dependencies
We can use the following command to remove r-cran-future.apply configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-future.apply
References
Summary
In this tutorial we learn how to install r-cran-future.apply package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.