RStudio is a development environment platform created for developers who are interested in the statistical programming language R. Its mission is to provide a statistical computing environment for R allowing analysis and development for anyone to analyze data with the language.
In this context, we shall look into how to install RStudio on Ubuntu 20.04 LTS.
Table of contents [Show]
Main features of RStudio includes:
- Syntax highlighting, code completion, and smart indentation.
- Execute R code directly from the source editor.
- Quickly jump to function definitions.
- View content changes in real-time with the Visual Markdown Editor.
- Easily manage multiple working directories using projects.
- Integrated R help and documentation.
- Interactive debugger to diagnose and fix errors.
- Extensive package development tools.
Steps to Install RStudio on Ubuntu 20.04 LTS Focal Fossa
1. Perform System Update
To begin, make sure that all your system packages are installed and up-to-date by running the following apt commands in the terminal:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install gdebi-core
$ sudo apt install r-base
2. Install RStudio on the system
By default, RStudio is available Ubuntu 20.04 base repository. Now run the following command below to install the latest version of RStudio:
Then, install the deb package as follows:
$ sudo gdebi rstudio-server-2021.09.1-372-amd64.deb
3. Confirm RStudio Installation
To verify RStudio installation, simply run the below command:
How to access RStudio on Ubuntu Linux system ?
Once successfully installed, now go to Applications and you will find the Rstudio icon, click on it to run.
Alternatively, you can start the application by executing the below command:
How To Uninstall RStudio from your Ubuntu Linux system ?
You can Remove RStudio using your system's uninstaller from the command line:
Debian/Ubuntu - $ sudo apt-get remove rstudio
CentOS/RedHat/Fedora - $ sudo rpm -e rstudio
[Need help in installing any Software on your Ubuntu Linux system ? We can help you. ]