How To Install r-cran-collapse on Ubuntu 22.04
Introduction
In this tutorial we learn how to install r-cran-collapse
on Ubuntu 22.04.
What is r-cran-collapse
r-cran-collapse is:
A C/C++ based package for advanced data transformation and statistical computing in R that is extremely fast, flexible and parsimonious to code with, class-agnostic and programmer friendly. It is well integrated with base R, ‘dplyr’ / (grouped) ’tibble’, ‘data.table’, ‘plm’ (panel-series and data frames), ‘sf’ data frames, and non-destructively handles other matrix or data frame based classes (such as ’ts’, ‘xts’ / ‘zoo’, ’timeSeries’, ’tsibble’, ’tibbletime’ etc.) — Key Features: — (1) Advanced statistical programming: A full set of fast statistical functions supporting grouped and weighted computations on vectors, matrices and data frames. Fast and programmable grouping, ordering, unique values / rows, factor generation and interactions. Fast and flexible functions for data manipulation and data object conversions. (2) Advanced aggregation: Fast and easy multi-data-type, multi-function, weighted, parallelized and fully customized data aggregation. (3) Advanced transformations: Fast row / column arithmetic, (grouped) replacing and sweeping out of statistics, (grouped, weighted) scaling / standardizing, between (averaging) and (quasi-)within (centering / demeaning) transformations, higher-dimensional centering (i.e. multiple fixed effects transformations), linear prediction / partialling-out, linear model fitting and testing. (4) Advanced time-computations: Fast (sequences of) lags / leads, and (lagged / leaded, iterated, quasi-, log-) differences, (compounded) growth rates, and cumulative sums on (unordered, irregular) time series and panel data. Multivariate auto-, partial- and cross- correlation functions for panel data. Panel data to (ts-)array conversions. (5) List processing: (Recursive) list search / identification, splitting, extraction / subsetting, data-apply, and generalized recursive row-binding / unlisting in 2D. (6) Advanced data exploration: Fast (grouped, weighted, panel- decomposed) summary statistics for complex multilevel / panel data.
There are three methods to install r-cran-collapse
on Ubuntu 22.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-collapse 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-collapse
using apt-get
by running the following command:
sudo apt-get -y install r-cran-collapse
Install r-cran-collapse Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-collapse
using apt
by running the following command:
sudo apt -y install r-cran-collapse
Install r-cran-collapse 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-collapse
using aptitude
by running the following command:
sudo aptitude -y install r-cran-collapse
How To Uninstall r-cran-collapse on Ubuntu 22.04
To uninstall only the r-cran-collapse
package we can use the following command:
sudo apt-get remove r-cran-collapse
Uninstall r-cran-collapse And Its Dependencies
To uninstall r-cran-collapse
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove r-cran-collapse
Remove r-cran-collapse Configurations and Data
To remove r-cran-collapse
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge r-cran-collapse
Remove r-cran-collapse configuration, data, and all of its dependencies
We can use the following command to remove r-cran-collapse
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-collapse
References
Summary
In this tutorial we learn how to install r-cran-collapse
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.