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.
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.
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.
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.
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
Also, if you want to provide a solution to other users, you can set up a webserver with RApache.
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.
Have a look at RStudio This has a desktop and web version. I have used the desktop version and it is pretty cool.