Skip to content

Instantly share code, notes, and snippets.

@sestelo
Forked from rweald/install-rserver-ubuntu.sh
Created September 29, 2017 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sestelo/c4f6e8082c71ceb1417751512960e0d0 to your computer and use it in GitHub Desktop.
Save sestelo/c4f6e8082c71ceb1417751512960e0d0 to your computer and use it in GitHub Desktop.
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