Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing R Server on Ubuntu
#!/usr/bin/env bash
echo "Installing R"
apt-get update
apt-get install r-base-core
apt-get install r-base-dev
echo "Installing R Server dependencies"
apt-get install gdebi-core libapparmor1
RSTUDIO_VERSION=0.97.246
echo "Installing R Server Version: $RSTUDIO_VERSION"
wget http://download2.rstudio.org/rstudio-server-$RSTUDIO_VERSION-amd64.deb
gdebi rstudio-server-$RSTUDIO_VERSION-amd64.deb
echo "Adding User to Access R Server"
adduser rserver-user

##Configuration & Management

  • Users can be managed using regular Linux user admin tools
  • Documentation on managing RServer can be found here
  • Documentation on configuring RServer can be found here

##Accessing RServer

  • By default RServer will be running on port 8787
  • Login credientials are the login credientials of your Linux user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment