RStudio is a free integrated development environment for the R programming language. R is an open source programming language (software package) and environment used mainly for statistical data analysis. It is licensed under the GNU General Public License (GPL).
As with most other programming languages, it is easier to work on your projects inside of an IDE such as RStudio. In this tutorial you will find the step by step instructions to install RStudio on Ubuntu 22.04 Jammy Jellyfish.
In this tutorial you will learn:
- How to install RStudio prerequisites
- How to install RStudio
- How to start Rstudio application
|Category||Requirements, Conventions or Software Version Used|
|System||Ubuntu 22.04 Jammy Jellyfish|
|Other||Privileged access to your Linux system as root or via the
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of
$ – requires given linux commands to be executed as a regular non-privileged user
How to install RStudio on Ubuntu 22.04 Jammy Jellyfish step by step instructions
- First, we need to install all of the prerequisites for RStudio. Get started by opening a command line terminal and entering the following
$ sudo apt update $ sudo apt -y install r-base gdebi-core
- Next, download the Rstudio
*.debpackage from the official Rstudio website. Head for the most recent Ubuntu release available, meaning if the
Ubuntu 22 - jammy packageis not available, download the
Ubuntu 20 - focalversion. Example of downloaded package:
$ ls rstudio-2022.02.0-443-amd64.deb
- Use the
gdebicommand to install the previously downloaded package. The
gdebicommand will ensure that all additional prerequisites are also downloaded to fulfill the RStudio requirements:
$ sudo gdebi rstudio-2022.02.0-443-amd64.deb
- After the installation has finished up, use the top left
Activitiesmenu and search for the RStudio application. Click on the icon to start it.
- Alternatively, you can start the RStudio application from the command line by executing the below command:
In this tutorial, we saw how to install the RStudio IDE for the R programming language on Ubuntu 22.04 Jammy Jellyfish Linux. Hopefully you find this free software to be a suitable environment for your R coding.