You are on page 1of 6

How To Install R & RStudio on Debian 11/10 | Computing... https://computingforgeeks.com/how-to-install-r-and-rstudi...

How To Install R & RStudio on


Debian 11/10
By - November 4, 2021

: How can I easily install R & RStudio on Debian 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 de�nitions

• Easily manage multiple working directories using projects

• Integrated R help and documentation

• Interactive debugger to diagnose and �x 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

1 de 6 22/12/22, 00:20
How To Install R & RStudio on Debian 11/10 | Computing... https://computingforgeeks.com/how-to-install-r-and-rstudi...

such as Access to priority email support and 8 hour response


during business hours (ET). Learn more about RStudio editions
and features.

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 10 / Debian 11


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 on


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

As of this article update, the latest version is 2021.09.0-351:

sudo apt -y install wget


wget https://download1.rstudio.org/desktop

2 de 6 22/12/22, 00:20
How To Install R & RStudio on Debian 11/10 | Computing... https://computingforgeeks.com/how-to-install-r-and-rstudi...

/bionic/amd64/rstudio-2021.09.0-351-amd64.deb
sudo apt install -f ./rstudio-2021.09.0-351-
amd64.deb

If you encounter any dependency problems, run:

sudo apt -f install

Step 4: Launch RStudio on Debian 10 /


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

For terminal, run:

$ rstudio

Its UI looks like this.

3 de 6 22/12/22, 00:20
How To Install R & RStudio on Debian 11/10 | Computing... https://computingforgeeks.com/how-to-install-r-and-rstudi...

You have installed R and Rstudio on Debian 10 / Debian 11 Linux


distribution.

Similar articles:

• How to install R & Rstudio on Ubuntu / Linux Mint

• How to Install NetBeans IDE on Ubuntu, Debian, Linux Mint

• Install Eclipse IDE on Ubuntu

• Install Android Studio on Ubuntu / Linux Mint / Debian

4 de 6 22/12/22, 00:20
How To Install R & RStudio on Debian 11/10 | Computing... https://computingforgeeks.com/how-to-install-r-and-rstudi...

YOU CAN SUPPORT OUR WORK WITH A


CUP OF COFFEE

As we continue to grow, we would wish to


reach and impact more people who visit
and take advantage of the guides we have
on our blog. This is a big task for us and
we are so far extremely grateful for the
kind people who have shown amazing
support for our work over the time we
have been online.

Thank You for your support as we work to


give you the best of guides and articles.
Click below to buy us a coffee.

https://computingforgeeks.com/

Founder of Computingforgeeks. Expertise in Virtualization, Cloud, Linux/UNIX


Administration, Automation,Storage Systems, Containers, Server Clustering
e.t.c.

 

5 de 6 22/12/22, 00:20
How To Install R & RStudio on Debian 11/10 | Computing... https://computingforgeeks.com/how-to-install-r-and-rstudi...

6 de 6 22/12/22, 00:20

You might also like