Debian Server for R Computing
  • Tutorial: Debian Server for R Computing
  • Before the Installation
  • Install Debian
    • Install Debian Operation System
    • Configure the APT Package Manager
    • Optional: Use LVM for Partition
    • Optional: Install Graphical User Desktop Environment
  • Softwares Installation and Other Configuration
    • R
    • OpenSSH
    • Rstudio Server
    • MariaDB
  • Backup Your Server
    • Rsync
    • Setting Rsync Daemon
    • Create Scheduled Tasks to Sync
  • Other Configuration
    • Port Mapping
    • Nginx and Shiny Server
Powered by GitBook
On this page
  • Installation
  • Simple Configuration

Was this helpful?

  1. Softwares Installation and Other Configuration

Rstudio Server

PreviousOpenSSHNextMariaDB

Last updated 5 years ago

Was this helpful?

RStudio is a integrated development environment (IDE) for R. Also free, open source and multi-platform. It includes a console, graphic device, debugger, command history, and workspace management just like a Matlab environment.

Installation

To download and install RStudio Server. Execute the following commands. Note that gdebi should be installed first.

$ sudo apt-get update
$ sudo apt-get install gdebi-core
$ wget https://download2.rstudio.org/rstudio-server-0.99.491-amd64.deb
$ sudo gdebi rstudio-server-0.99.491-amd64.deb

To verify your installation, excute following command:

$ sudo rstudio-server verify-installation

Simple Configuration

Simple commands for start/stop/restart server

$ sudo rstudio-server stop
$ sudo rstudio-server start
$ sudo rstudio-server restart

The default port for Rstudio server is 8787. That means any can connect to the server through the URL http://<server-ip/hostname>:8787. If you wish to change to another port, you should add following configuration into /etc/rstudio/rserver.conf file. For example:

www-port=18787

Note that after any configuration, always restart server to apply your changes.

$ sudo rstudio-server restart

Other tips:

  • The users in Rstudio server are references to users of system.

  • Each user needs to be created with a home directory.

More tips on .

Rstudio server support