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.

  • 9
    $\begingroup$ @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. ;-) $\endgroup$ Commented Apr 18, 2011 at 20:25
  • 8
    $\begingroup$ @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. $\endgroup$
    – whuber
    Commented Apr 18, 2011 at 20:40
  • 6
    $\begingroup$ 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. $\endgroup$
    – kmm
    Commented Apr 19, 2011 at 1:48
  • 3
    $\begingroup$ This question appears to be off-topic because it is not about statistics. $\endgroup$ Commented Apr 20, 2014 at 19:44
  • 4
    $\begingroup$ This site has a simple R context: r-fiddle.org $\endgroup$
    – Ron Jensen
    Commented Jan 12, 2016 at 18:57

5 Answers 5


Yes, there are some Rweb interface, like this one (dead as of September 2020), RDDR online REPL, or Repl.it.

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

  • $\begingroup$ No longer works $\endgroup$ Commented Aug 6, 2020 at 14:46
  • $\begingroup$ Thanks @canderson156! Added a few more options. $\endgroup$
    – chl
    Commented Sep 14, 2020 at 18:19
  • $\begingroup$ @chl Nice to see you again! $\endgroup$
    – whuber
    Commented Sep 14, 2020 at 19:58
  • 1
    $\begingroup$ Thanks @whuber! $\endgroup$
    – chl
    Commented Sep 15, 2020 at 9:15

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

  • 3
    $\begingroup$ And now there's Rack. $\endgroup$
    – chl
    Commented Apr 19, 2011 at 9:58
  • 2
    $\begingroup$ @chl And now, it is called Rook (-; $\endgroup$
    – user88
    Commented Nov 25, 2011 at 22:33

Sage also has R included with a Python interface. The Sage system is available. Since a couple of years, the prefered way to run SageMath is via CoCalc. It also allows you to run R directly, e.g. in a Jupyter notebook using the R kernel.


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


lm(formula = sage2, data = sage0)

(Intercept)      waiting  
   -1.87402      0.07563  
  • $\begingroup$ 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.) $\endgroup$
    – vonjd
    Commented Apr 19, 2011 at 7:46
  • $\begingroup$ 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. $\endgroup$
    – hans0l0
    Commented Oct 10, 2012 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.

  • $\begingroup$ The example is empty now. I was curious to see it :( $\endgroup$ Commented Apr 20, 2014 at 8:28
  • $\begingroup$ It seems the links did not survive an API change; a new hellow world is here: ideone.com/6xpOl4 $\endgroup$
    – shabbychef
    Commented Jun 4, 2014 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.


Not the answer you're looking for? Browse other questions tagged or ask your own question.