How To Install r-cran-interp on Debian 10

Learn how to install r-cran-interp on Debian 10 with this tutorial. r-cran-interp is GNU R interpolation methods

Introduction

In this tutorial we learn how to install r-cran-interp on Debian 10.

What is r-cran-interp

r-cran-interp is:

Bivariate data interpolation on regular and irregular grids, either linear or using splines are the main part of this package. It is intended to provide FOSS replacement functions for the ACM licensed akima::interp and tripack::tri.mesh functions. Currently the piecewise linear interpolation part of akima::interp (and also akima::interpp) is implemented in interp::interp, this corresponds to the call akima::interp(…, linear=TRUE) which is the default setting and covers most of akima::interp use cases in depending packages. A re-implementation of Akimas spline interpolation (akima::interp(…, linear=FALSE)) is currently under development and will complete this package in a later version. Estimators for partial derivatives are already available, these are a prerequisite for the spline interpolation. The basic part is currently a GPLed triangulation algorithm (sweep hull algorithm by David Sinclair) providing the starting point for the piecewise linear interpolator. As side effect this algorithm is also used to provide replacements for the basic functions of the tripack package which also suffer from the ACM restrictions. All functions are designed to be backward compatible with their akima / tripack counterparts.

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

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

Install r-cran-interp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-interp

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

sudo aptitude -y install r-cran-interp

How To Uninstall r-cran-interp on Debian 10

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

sudo apt-get remove r-cran-interp

Uninstall r-cran-interp And Its Dependencies

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

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

Remove r-cran-interp Configurations and Data

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

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

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

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

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

Dependencies

r-cran-interp have the following dependencies:

References

Summary

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