In the Console panel, let’s run some demos and verify the environment: > demo(nlm) Then the RStudio Desktop window will show. Note: CRAN maintains the repositories within their network, but not all external repositories are reliable. Start RStudio Desktop by opening the RStudio program from the application launcher or application menu, or by running the command $ rstudio Because R is a fast-moving project, the latest stable version isn’t always available from Ubuntu’s repositories, so we’ll start by adding the external repository maintained by CRAN. For those using Ubuntu can use the apt-get command as below. Run the command below if you are using a RHEL based OS.
Verify the R and RStudio Desktop installation Run Rstudio Go to Applications and you will find the Rstudio icon, click on it to run. First of all, we need to install the R package, which is available in the default repository of RHEL/CentOS and Ubuntu. Processing triggers for shared-mime-info (1.15-1). Processing triggers for gnome-menus (3.36.0-1ubuntu1). Processing triggers for hicolor-icon-theme (0.17-2). Processing triggers for mime-support (3.64ubuntu1). 00:41 lsbrelease -a 00:57 sudo -s 01:09 cd / 01:17 apt install r-base 01:39 apt install gdebi-core 02:22 gdebi rstudio-server-2021.09.b. Processing triggers for desktop-file-utils (0.24-1ubuntu3). Ubuntu Studio Installer can add Ubuntu Studio’s benefits to any installation of Ubuntu or its official flavors so that you can use whatever desktop environment you prefer, and gives you a curated selection of packages to fit your workflow, whether you’re a graphics artist, audio engineer, musician, publisher, photographer, or video producer. 267829 files and directories currently installed.) Selecting previously unselected package rstudio. Get:1 /home/davidyang/Downloads/b rstudio amd64 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 844 MB of additional disk space will be used. Note, selecting 'rstudio' instead of './b' If you are using a different version, change the command to match the file name you downloaded in the previous step).
Then, install the deb package as follows (again, we use the as the example.
$ sudo apt install r-base Install RStudio Desktop on UbuntuĪfter the R environment is ready, we can move to to install the RStudio Desktop.įirst, download the RStudio Desktop software package by (here, we use version as an example, you need to find the link for the specific version you want to install and use that link in the command line below) $ wget Install R environment as follows (for more details, please check Install R environment in Ubuntu Linux) as follows.