Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R web application introduction [closed]

I doubt this is the right place to ask the question, but I was wondering if there is a good place for an introduction to developing web apps in R. I know people are doing it and I know about where to find out about RApache and brew but any kind of walkthrough?

Just checking before I start on my own.

like image 944
Dan Avatar asked Sep 09 '09 01:09

Dan


3 Answers

An update, several years later:

What technology to use for integrating R into web apps depends upon the scale of what you are trying to accomplish.

For small, standalone web apps, Shiny is fast becoming the de facto standard. It is relatively easy to use, and there are paid support options.

For bigger projects, you are probably better off using whatever web framework you are comfortable with and then figuring out how to connect to R. (You can call R from the command line from any more-or-less any other software, and there are some slightly nicer interfaces to R such as rJava for Java apps.) This sounds a little vague, but for such projects the important decisions are based on "what does your company already use?" and "what do you need R for?"


Original answer:

There are lots of different ways of creating a web app with R. Most (if not all) are listed in the FAQ on R document.

If you want to use RApache, there's a presentation on the old RApache site that might be useful to get you started. Otherwise, RWui is very simple to use, but not so flexible (last time I used it, anyway), and rcom/StatConnector can be used to run R from your web server.

like image 79
Richie Cotton Avatar answered Dec 24 '22 13:12

Richie Cotton


I just came a cross this old question.

There are three, newer, videos you can watch:

  1. R Web Application – “Hello World” using RApache (~7min video tutorial)
  2. Web Development with R – an HD video tutorial of Jeroen Ooms talk
  3. A web application for R’s ggplot2

(I could have linked just to the youtube videos, but the posts also includes extra links to code, presentations and explanations)

like image 20
Tal Galili Avatar answered Dec 24 '22 14:12

Tal Galili


Check out Jeroen Ooms' useR!2009 presentation - this also contains an example. I believe Stockplot R web application has been built using the same techniques.

like image 34
learnr Avatar answered Dec 24 '22 13:12

learnr