RStudio Server is an open-source integrated development environment (IDE) for R that allows you to work with R on a remote server, using a web browser. In this tutorial, we will discuss how to install RStudio Server on Elementary OS Latest, step by step.
Before starting the installation, ensure that your system meets the following prerequisites:
To update your system to the latest version, open a terminal window and enter the following command:
sudo apt-get update
This will update the package lists that the system uses to determine which software to install.
R is a programming language and software environment for statistical computing and graphics. To install R on Elementary OS Latest, open a terminal window and enter the following command:
sudo apt-get install r-base
This will install the R programming language on your system.
GDebi is a simple tool that allows you to install local packages on your system. To install GDebi on Elementary OS Latest, open a terminal window and enter the following command:
sudo apt-get install gdebi
This will install GDebi on your system.
To download the latest version of RStudio Server, go to the RStudio website: https://www.rstudio.com/products/rstudio/#Server
Once you are on the page, click on the Download button for the version of RStudio Server that corresponds to the operating system on your server. For this tutorial, we will be downloading the Ubuntu 18.04/Debian 10 (64-bit) version.
To install RStudio Server on your system, follow the below-given steps:
Open a terminal window and navigate to the directory where you downloaded RStudio Server by using the cd
command.
Once you are in the directory, use the ls
command to list the contents of the directory.
Look for the .deb file you downloaded and copy its name.
To install RStudio Server, use the gdebi
command followed by the name of the .deb file that you downloaded:
sudo gdebi rstudio-server-1.3.1093-amd64.deb
You can now access RStudio Server by opening a web browser and entering the following URL in the address bar: http://localhost:8787
This will take you to the RStudio Server login page. Enter your username and password to log in to RStudio Server.
Congratulations! You have successfully installed RStudio Server on Elementary OS Latest. You can now use RStudio Server to develop R applications on your remote server.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!