Wednesday, November 13, 2024
Google search engine
HomeGuest BlogsHow To Install R & RStudio on Debian 12/11/10

How To Install R & RStudio on Debian 12/11/10

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

Question: How can I easily install R & RStudio on Debian 12/11/10 Linux server/Desktop? R is a programming language commonly used for statistical computing and graphical representation of data.

Rstudio on the other hand is an integrated development environment for R with a variety of robust tools for plotting, viewing history, debugging and managing your workspace. Two versions of RStudio are available – open source or commercial.

Features of RStudio

  • Runs on Windows, Linux, and macOS
  • Syntax highlighting, code completion, and smart indentation
  • Integrated support for Git and Subversion
  • Execute R code directly from the source editor
  • Quickly jump to function definitions
  • Easily manage multiple working directories using projects
  • Integrated R help and documentation
  • Interactive debugger to diagnose and fix errors quickly
  • Extensive package development tools
  • Support for interactive graphics with Shiny and ggvis
  • Supports authoring HTML, PDF, Word Documents, and slide shows

By choosing the commercial edition, you get additional features such as Access to priority email support and 8 hour response during business hours (ET). Learn more about RStudio editions and features.

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}

This article will cover installation of Open source edition of RStudio released under AGPL License.

Step 1: Update system

Like always, update system package index, and optionally upgrade all installed packages to latest.

sudo apt update
sudo apt -y upgrade

Step 2: Install R on Debian

We need to install r-base package which contains the basic R functions that let you perform arithmetic operations and basic programming in R. Use the command below to install.

sudo apt -y install r-base

Step 3: Download and Install RStudio

Now visit the  RStudio downloads page to grab the latest release of RStudio for Debian based Linux distributions.

sudo apt -y install wget
wget https://download1.rstudio.org/electron/focal/amd64/rstudio-2023.06.1-524-amd64.deb
sudo apt install -f ./rstudio-2023.06.1-524-amd64.deb

If you encounter any dependency problems, run:

sudo apt -f install

Step 4: Launch RStudio on Debian

Launch RStudio from Applications search section of your Desktop Environment or from the terminal.

Launch RStudio Ubuntu Debian Linux Mint

For terminal, run:

$ rstudio

Its UI looks like this.

rstudio ui

You have installed R and Rstudio on Debian Linux distribution.

Similar articles:

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}

RELATED ARTICLES

Most Popular

Recent Comments