RStudio Server part 2: pros of using RStudio server for a remote connection

February 5, 2012

(This article was first published on NumberTheory » R stuff, and kindly contributed to R-bloggers)

After playing around with R studio server for a while, I decided to write a followup to my previous blog post. I want to go over a few of the strong points of using RStudio server to access a remote machine using R.

Advantages of RStudio server
Before discovering RStudio Server, I would use either plain ssh with X enabled, or NoMachine NX to access a remote machine. In contrast to plain ssh, RStudio server ahs the advantage that it does not require a running X server at the host. This is mainly a problem under Windows, where you need to install Cygwin to get the X server running (assuming using putty for the ssh connection). Although it works, I don’t really like installing a lot of additional software just to get a remote connection with graphic support. Under Mac things work a little bit more out-of-the-box, but natively Mac OS X does not run X, and it fires up a seperate program where all X stuff happens. This also does not feel ideal, although it is much better than using windows. RStudio server does not require an X session, just a good web browser. Plots and pdfs can also be shown inside the browser.

Using a tool like NoMachine only requires a small client application, in addition to a server-side installation of NoMachine. This works quit well, although performance across firewalls can become slow. Although I have not used RStudio server across heavy firewalls, I suspect it performs a little better.

When being trapped behind a corporate firewall, the only traffic allowed to leave the firewall is over a proxy that only allows traffic over port 80. NoMachine and ssh can be used through tunnels, but RStudio Server is purely based on web traffic, and I think this might work well.

To leave a comment for the author, please follow the link and comment on their blog: NumberTheory » R stuff. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



CRC R books series

Six Sigma Online Training

Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)