Sunday, 1 May 2016

Installing R and RStudio on OpenSUSE Leap 42.1

Originally was published in Data Analysis with R and Python, another my blog: https://cadengis.wordpress.com

Installing R

To install R we should open software manager: "Main menu -> System -> YaST -> Software -> Software Management", type R-base in the search field, then click on the "Search" button, mark checkboxes for R-base and R-base-devel packages and click on the "Accept" button:
R-base
For correct installation of additional packages we should previously install the GNU C and C++ compilers, in our case 4.8-8.4 version:
gcc.png
If we will work with XML documents we should also install libxml2-devel package:
libxml2

Installing RStudio

Open RStudio download page and choose appropriate installer, for example RStudio 0.99.489 - Fedora 19+/RedHat 7+/openSUSE 13.1+ (64-bit), then download file rstudio-0.99.489-x86_64.rpm, in our case. When file will be downloaded, open Konsole (or Terminal) go to the directory with that file and type a command
sudo zypper install rstudio-0.99.489-x86_64.rpm
zypper
When the installation process will be finished we can open RStudio IDE with "Main menu -> Development -> RStudio":
devmenu
After running the RStudio main window should look like one:
rstudio

No comments:

Post a Comment