RStudio IDE provides a software development environment that enables you to run R commands, visualize output, inspect variables, and manage your project files.
RStudio makes it easier to write scripts with Syntax highlighting, code completion, and smart indentation.
RStudio requires R 3.0.1 or newer. So, use the below command to install the R base package on your system.
sudo apt update sudo apt install -y r-base
Once the package is installed, run the
R --version command to get the R version.
R version 4.0.4 (2021-02-15) -- "Lost Library Book" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)
Additionally, you may want to install the automatically tuned Atlas or the multi-threaded OpenBlas library to get higher performance for linear algebra operations.
sudo apt install -y libatlas3-base
sudo apt install -y libopenblas-base
Install RStudio IDE on Debian 11
First, download the latest version of the RStudio package from the official website or use the below command to download RStudio v1.4.1717 using the terminal.
Then, install the package using the
sudo apt install -y ./rstudio-1.4.1717-amd64.deb
Wait for the installation to complete.
Launch RStudio IDE
You can start RStudio by going to Activities >> search for RStudio or by running the
rstudio command in the terminal.
RStudio is running on Debian 11.