RStudio is an Integrated Development Environment (IDE) for the R. It includes different tools like a source code editor, builds automation, and debugger.
R is a programming language and free software environment that is used for statistical computing and graphics. This language is heavily used in the fields of data visualization, data analysis, and data science.
In this article, I will show you how you can set up RStudio IDE in Fedora Linux.
To follow this guide you should have the following.
- A system running a recent version of Fedora
- You should have the access to a user account with superuser privilege.
- Install a recent version of R on your Fedora system
Download RStudio Desktop
There are two versions of RStudio –
- RStudio Desktop – For desktops
- RStudio Server – For centralized access and computation
RStudio Desktop is available in free and free-based commercial editions. Here we will install RStudio Desktop free and open source edition.
You can use one of the given methods to install RStudio desktop on your Fedora system.
Installing RStudio from the default Fedora repository
The RStudio desktop is available in the default Fedora repository you can install it by using dnf command –
But before installing it run the given command and update your system –
sudo dnf update -y
Next, use the given command to install the RStudio desktop on Fedora –
sudo dnf install rstudio-desktop -y
Installing the RStudio desktop using RPM package
Go to the R programming download page and click on Fedora 34/Red Hat 8.
OR use the given command in your terminal to download the installer.
Use the following command to install the RStudio desktop on your system –
sudo dnf -y install ./rstudio-2022.07.1-554-x86_64.rpm
Start RStudio on Fedora
Once the installation is completed you can launch it by searching RStudio in Fedora’s activities dashboard. Search RStudio and click on its icon when it appears as you can see in the image below.
Alternatively, you can start it from your terminal by using –
This will open that application you can see its user interface in the image.
You have successfully installed R Desktop on your Fedora system, you can start using it for writing your R code.
Now if you have a query or feedback then write us in the comments below.