Ubuntu Tutorial

How To Install r-cran-ggalluvial on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes  • 416 words

Introduction

In this tutorial we learn how to install r-cran-ggalluvial on Ubuntu.

What is r-cran-ggalluvial

r-cran-ggalluvial is:

Alluvial plots use variable-width ribbons and stacked bar plots to represent multi-dimensional or repeated-measures data with categorical or ordinal variables; see Riehmann, Hanfler, and Froehlich (2005) doi:10.1109/INFVIS.2005.1532152 and Rosvall and Bergstrom (2010) doi:10.1371/journal.pone.0008694. Alluvial plots are statistical graphics in the sense of Wilkinson (2006) doi:10.1007/0-387-28695-0; they share elements with Sankey diagrams and parallel sets plots but are uniquely determined from the data and a small set of parameters. This package extends Wickham’s (2010) doi:10.1198/jcgs.2009.07098 layered grammar of graphics to generate alluvial plots from tidy data.

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

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

Install r-cran-ggalluvial Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-ggalluvial

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

sudo aptitude -y install r-cran-ggalluvial

How To Uninstall r-cran-ggalluvial on Ubuntu

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

sudo apt-get remove r-cran-ggalluvial

Uninstall r-cran-ggalluvial And Its Dependencies

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

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

Remove r-cran-ggalluvial Configurations and Data

To remove r-cran-ggalluvial configuration and data from Ubuntu we can use the following command:

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

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

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

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

Dependencies

r-cran-ggalluvial have the following dependencies:

References

Summary

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

Follow us

We provides various tutorials about Ubuntu