How To Install r-cran-arsenal on Kali Linux
Introduction
In this tutorial we learn how to install r-cran-arsenal
on Kali Linux.
What is r-cran-arsenal
r-cran-arsenal is:
An Arsenal of ‘R’ functions for large-scale statistical summaries, which are streamlined to work within the latest reporting tools in ‘R’ and ‘RStudio’ and which use formulas and versatile summary statistics for summary tables and models. The primary functions include tableby(), a Table-1-like summary of multiple variable types ‘by’ the levels of one or more categorical variables; paired(), a Table-1-like summary of multiple variable types paired across two time points; modelsum(), which performs simple model fits on one or more endpoints for many variables (univariate or adjusted for covariates); freqlist(), a powerful frequency table across many categorical variables; comparedf(), a function for comparing data.frames; and write2(), a function to output tables to a document.
There are three methods to install r-cran-arsenal
on Kali Linux. 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-arsenal 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-arsenal
using apt-get
by running the following command:
sudo apt-get -y install r-cran-arsenal
Install r-cran-arsenal Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install r-cran-arsenal
using apt
by running the following command:
sudo apt -y install r-cran-arsenal
Install r-cran-arsenal Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install r-cran-arsenal
using aptitude
by running the following command:
sudo aptitude -y install r-cran-arsenal
How To Uninstall r-cran-arsenal on Kali Linux
To uninstall only the r-cran-arsenal
package we can use the following command:
sudo apt-get remove r-cran-arsenal
Uninstall r-cran-arsenal And Its Dependencies
To uninstall r-cran-arsenal
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove r-cran-arsenal
Remove r-cran-arsenal Configurations and Data
To remove r-cran-arsenal
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge r-cran-arsenal
Remove r-cran-arsenal configuration, data, and all of its dependencies
We can use the following command to remove r-cran-arsenal
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge r-cran-arsenal
Dependencies
r-cran-arsenal have the following dependencies:
References
Summary
In this tutorial we learn how to install r-cran-arsenal
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.