How To Install elpa-ess on Debian 12

Learn how to install elpa-ess on Debian 12 with this tutorial. elpa-ess is Emacs mode for statistical programming and data analysis

Introduction

In this tutorial we learn how to install elpa-ess on Debian 12.

What is elpa-ess

elpa-ess is:

Emacs Speaks Statistics (ESS) is an add-on package for GNU Emacs. It is designed to support editing of scripts and interaction with various statistical analysis programs such as R, S, S-Plus, SAS, Stata, BUGS/JAGS and Julia.

It provides the following features:

  • Editing source code (R, S, S-plus, SAS, BUGS/JAGS, Stata, Julia)
    • Syntactic indentation and highlighting of source code
    • Partial evaluation of code
    • Loading and error-checking of code
    • Source code revision maintenance
    • Batch execution (SAS, BUGS/JAGS)
    • Use of imenu to provide links to appropriate functions
  • Interacting with the process (R, S, S-plus, SAS, Stata, Julia)
    • Command-line editing
    • Searchable Command history
    • Command-line completion of R, S, S-plus object names and file names
    • Quick access to object lists and search lists
    • Transcript recording
    • Interface to the help system
  • Transcript manipulation (R, S, S-plus, Stata)
    • Recording and saving transcript files
    • Manipulating and editing saved transcripts
    • Re-evaluating commands from transcript files
  • Interaction with Help Pages and other Documentation (R)
    • Fast Navigation
    • Sending Examples to running ESS process
    • Fast Transfer to Further Help Pages
  • Help File Editing (R)
    • Syntactic indentation and highlighting of source code
    • Sending Examples to running ESS process
    • Previewing

There are three methods to install elpa-ess 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 elpa-ess Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install elpa-ess using apt-get by running the following command:

sudo apt-get -y install elpa-ess

Install elpa-ess Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install elpa-ess using apt by running the following command:

sudo apt -y install elpa-ess

Install elpa-ess 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 elpa-ess using aptitude by running the following command:

sudo aptitude -y install elpa-ess

How To Uninstall elpa-ess on Debian 12

To uninstall only the elpa-ess package we can use the following command:

sudo apt-get remove elpa-ess

Uninstall elpa-ess And Its Dependencies

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

sudo apt-get -y autoremove elpa-ess

Remove elpa-ess Configurations and Data

To remove elpa-ess configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge elpa-ess

Remove elpa-ess configuration, data, and all of its dependencies

We can use the following command to remove elpa-ess configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge elpa-ess

Dependencies

elpa-ess have the following dependencies:

References

Summary

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