RStudio Server: accessing the RStudio R IDE through your browser

[This article was first published on NumberTheory » R stuff, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I like having all my important documents and scripts in one single place. This saves me from having to synchronize them between the different workplaces I have, and makes backupping much less of a pain. One way of achieving this kind of functionality is to use a remote desktop connection tool (e.g. NoMachine for Linux), or an ssh connection. However, if you want access R remotely, there is another option. The excellent RStudio R IDE also has a server version. I installed this just now on my Ubuntu 10.04 machine, which was very easy and was done in about a minute. When RStudio Server is installed, it starts listening on a port of the computer it was installed on, by default port 8787. To access R from you browser, just type the ip address or name of the server, plus the port number into your browser. For example:

opens RStudio in my browser (Google Chrome). The functionality and speed are equivalent to running RStudio locally. I was really impressed by this option of RStudio. Now you can work on your favorite R projects from any computer. You can even upload datasets to the server using RStudio. When a friend asks you to help working on a dataset, you can just fire up his browser and start working. I also see the potential for teaching R courses. The student now only needs access to a browser to be able to start working on the course material. He or she does not need to install R or any R packages locally.

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 about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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)