How To Install r-cran-rggobi on Ubuntu 18.04

In this tutorial we learn how to install r-cran-rggobi on Ubuntu 18.04. r-cran-rggobi is GNU R package for the GGobi data visualization system

Introduction

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

What is r-cran-rggobi

r-cran-rggobi is:

This Debian package contains the R package for access to the ggobi data visualization system for high-dimensional data from within GNU R.

See http://www.ggobi.org/rggobi for rggobi, http://www.ggobi.org/ggobi and http://www.r-project.org for GNU R.

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

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

Install r-cran-rggobi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-rggobi

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

sudo aptitude -y install r-cran-rggobi

How To Uninstall r-cran-rggobi on Ubuntu 18.04

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

sudo apt-get remove r-cran-rggobi

Uninstall r-cran-rggobi And Its Dependencies

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

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

Remove r-cran-rggobi Configurations and Data

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

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

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

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

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

References

Summary

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