How To Install r-cran-zelig on Kali Linux

In this tutorial we learn how to install r-cran-zelig on Kali Linux. r-cran-zelig is GNU R package providing a unified front-end for estimating statistical models

Introduction

In this tutorial we learn how to install r-cran-zelig on Kali Linux.

What is r-cran-zelig

r-cran-zelig is:

With thousands of contributors who have written hundreds of packaged routines, R can deal with nearly any statistical problem. Although this high level of participation may be its greatest strength, the enormous diversity in approaches to statistical inference covered by R often results in a virtual babel of competing functions and inconsistent syntax.

To address these problems from a common perspective, the upstream authors have created Zelig, a single, easy-to-use program, with a unified framework and syntax, that can estimate, help interpret, and present the results of a large range of statistical methods. It literally is “everyone’s statistical software” because Zelig uses R code from many researchers. They also hope it will become “everyone’s statistical software” for applications, and they have designed it so that anyone can use it or add their methods to it. Zelig comes with detailed, self-contained documentation that minimizes startup costs for Zelig and R, automates graphics and summaries for all models, and, with only three simple commands required, generally makes the power of R accessible for all users. Zelig also works well for teaching, and is designed so that scholars can use the same program they use for their research.

There are three methods to install r-cran-zelig 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-zelig 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-zelig using apt-get by running the following command:

sudo apt-get -y install r-cran-zelig

Install r-cran-zelig Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-cran-zelig using apt by running the following command:

sudo apt -y install r-cran-zelig

Install r-cran-zelig 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-zelig using aptitude by running the following command:

sudo aptitude -y install r-cran-zelig

How To Uninstall r-cran-zelig on Kali Linux

To uninstall only the r-cran-zelig package we can use the following command:

sudo apt-get remove r-cran-zelig

Uninstall r-cran-zelig And Its Dependencies

To uninstall r-cran-zelig and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove r-cran-zelig

Remove r-cran-zelig Configurations and Data

To remove r-cran-zelig configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge r-cran-zelig

Remove r-cran-zelig configuration, data, and all of its dependencies

We can use the following command to remove r-cran-zelig configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-cran-zelig

Dependencies

r-cran-zelig have the following dependencies:

References

Summary

In this tutorial we learn how to install r-cran-zelig package on Kali Linux using different package management tools: apt, apt-get and aptitude.