Created on 07-16-201812:55 PM - edited 08-17-201906:56 AM
Context
Hortonworks tutorials are a great resource and one I use often to explore new topics or re-enforce my current knowledge. Recently, I went through the Predicting Airline Delays using SparkR tutorial. This tutorial is using SparkR and RStudio, running on the HDP Sandbox.
For those, like me, who want to run rstudio on an HDP node running on something else than the sandbox, the configuration of rstudio differs a little from the article linked in this tutorial, which is why I thought of writing this quick article.
This tutorial will thus detail the installation and unit testing of RStudio Server for the following environment versions:
Hortonworks Data Platform: HDP 2.6
OS: Centos 7 64bit
Cloud Infrastucture: OpenStack
Installing rstudio-server on Centos 7
1. Connect to the server onto which you want to install rstudio-server:
$ ssh [your_user]@[your_server]
Note: the user with which you connect must have sudo priviledges.
2. Install R:
$ sudo yum install R -y
3. Once connected, following the RStudio official site, download the latest version of RStudio: