How To Install r-cran-vcdextra on Debian 12

Learn how to install r-cran-vcdextra on Debian 12 with this tutorial. r-cran-vcdextra is GNU R package providing extensions and additions to the vcd package

Introduction

In this tutorial we learn how to install r-cran-vcdextra on Debian 12.

What is r-cran-vcdextra

r-cran-vcdextra is:

The vcdExtra package is a GNU R package providing additional data sets, methods and documentation to complement the ‘vcd’ package for Visualizing Categorical Data and the ‘gnm’ package for Generalized Nonlinear Models. In particular, ‘vcdExtra’ extends mosaic, assoc and sieve plots from ‘vcd’ to handle ‘glm()’ and ‘gnm()’ models and adds a 3D version in ‘mosaic3d’. Additionally, methods are provided for comparing and visualizing lists of ‘glm’ and ’loglm’ objects. This package is now a support package for the book, “Discrete Data Analysis with R” by Michael Friendly and David Meyer.

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

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

Install r-cran-vcdextra Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-vcdextra

Install r-cran-vcdextra 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install r-cran-vcdextra

How To Uninstall r-cran-vcdextra on Debian 12

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

sudo apt-get remove r-cran-vcdextra

Uninstall r-cran-vcdextra And Its Dependencies

To uninstall r-cran-vcdextra and its dependencies that are no longer needed by Debian 12, we can use the command below:

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

Remove r-cran-vcdextra Configurations and Data

To remove r-cran-vcdextra configuration and data from Debian 12 we can use the following command:

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

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

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

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

Dependencies

r-cran-vcdextra have the following dependencies:

References

Summary

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