Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way I can access R via the web?

This question hasn't been asked yet. Some solutions probably have been proposed though to other (similar) problems. My apologies for that.

My question is: as a student I work a lot with R, but sometimes I'd like to just access a browser, go to a website and type in a few R commands and then have some quick results back (e.g. calculating my grades on a laptop of a friend).

Now I could have my pc up and running all night, etc. But I'm more wondering about if there are any web applications that simulate the R console. I found one, but it doesn't work (which was the first or second hit on google).

Does anyone have any ideas? It might be that something like this (or something similar close to the R language on the web) doesn't exist.

like image 456
Melvin Roest Avatar asked Mar 02 '12 04:03

Melvin Roest


2 Answers

You could try using an online compiler for quick testing purposes. Ideone comes to mind as a suitable option. Select the R language from menu on the left, enter the code you would like to test, then hit submit to see the output.

This also has the benefit of allowing you to share results from testing short code snippets by copy pasting the URL, which can be especially handy here on Stack Overflow.

like image 151
Perception Avatar answered Sep 23 '22 12:09

Perception


Like Andrew Dempsey suggested, RStudio Server works like a charm on AWS and Ubuntu Server. I have a private image running for a statistics class—everyone has their own Unix account and can log in to that account through the web interface at anytime. It's fantastic.

like image 23
Andrew Avatar answered Sep 20 '22 12:09

Andrew