# Using R online - without installing it [closed]

Is there a possibility to use R in a webinterface without the need to install it?

I have only one small script which I like to run but I just want to give it a shot without a long installation procedure.

Thank you.

-

## closed as off-topic by Nick Stauner, gung, Peter Flom♦Apr 20 '14 at 22:19

• This question does not appear to be about statistics within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

A "long installation procedure"? Only if you build from source. There are binaries for most popular OS distributions and it takes < 5 minutes to download and install them. – Joshua Ulrich Apr 18 '11 at 20:00
@vonjd: But you could have downloaded, installed, and run your script in less time than it took to write your question and wait for an answer. ;-) – Joshua Ulrich Apr 18 '11 at 20:25
@Joshua Good point. But in some work environments it can take a lot of effort just to get the permission to install any executable on a machine. And on Windows systems, most installations, even after a subsequent uninstall, litter the machine with detritus that accumulates over time and helps bog everything down, so if you aren't sure you're going to use some software there's incentive not to install it. – whuber Apr 18 '11 at 20:40
You can put an entire Windows installation of R (and RStudio for ease of use) on a flash drive. Just copy the R folder. Then you can take it with you. – kmm Apr 19 '11 at 1:48
This question appears to be off-topic because it is not about statistics. – Nick Stauner Apr 20 '14 at 19:44

Yes, there are some Rweb interface, like this one.

Note: Installation of the R software is pretty straightforward and quick, on any platform.

-
+1: Wow, it worked right away! Thank you! – vonjd Apr 18 '11 at 19:42
@vonjd I just checked: they are running R version 2.11.1. (Try R.version() at the command prompt.) – chl Apr 18 '11 at 19:45

Also, if you want to provide a solution to other users, you can set up a webserver with RApache.

-
And now there's Rack. – chl Apr 19 '11 at 9:58
@chl: cool, thanks for the link! – nico Apr 19 '11 at 10:03
@chl And now, it is called Rook (-; – mbq Nov 25 '11 at 22:33

Sage also has R included with a Python interface. The Sage system is available as installable, but also online.

Example:

r.data("faithful")
r.lm("eruptions ~ waiting", data=r.faithful)


Output:

Call:
lm(formula = sage2, data = sage0)

Coefficients:
(Intercept)      waiting
-1.87402      0.07563

-
I tried to run an r script in a Sage webinterface but it didn't work - it said that there was an error creating a png (no X.11 available or sth.) – vonjd Apr 19 '11 at 7:46
This python interface is freakin hilarious. Do you have any clue how it built? I mean I could make use of a much much simpler system but need to host on my own. – hans0l0 Oct 10 '12 at 19:31

Some of the pastebin services will allow you to enter R code. For example, ideone. Here is a very silly hello world in R. I believe ideone limits you to 15 seconds compute time per run, and no fancy IDE, despite the name.

-
(+1) Nice finding! – chl Nov 26 '11 at 10:19
The example is empty now. I was curious to see it :( – Stéphane Laurent Apr 20 '14 at 8:28
It seems the links did not survive an API change; a new hellow world is here: ideone.com/6xpOl4 – shabbychef Jun 4 '14 at 16:13

Have a look at RStudio This has a desktop and web version. I have used the desktop version and it is pretty cool.

-