News for hackers. Stuff that matters.
Re:Building a statistical significance testing web service p... by larrydag on Thursday October 18, 2012 @12:55PM (#4669621)
I've heard good things about the package Rserve. It's a good way to combine a lot of server side R requests with your online app of choice. http://www.rforge.net/Rserve/doc.html
Re:Building a statistical significance testing web service p... by tnai on Thursday October 18, 2012 @01:04PM (#4669682)
There's also an R buildpack for Heroku. There's a sample app written using Sinatra (Ruby) included.

https://github.com/virtualstaticvoid/heroku-buildpack-r

Re:Building a statistical significance testing web service p... by tocomment on Thursday October 18, 2012 @10:10AM (#4668795)
Would it be possible to code everything in something like Django to handle the HTTP, view parts, and farm out the calculations to R?

How would you design that?

Re:Building a statistical significance testing web service p... by k3n on Thursday October 18, 2012 @10:23AM (#4668870)
Of course, but at that point you likely wouldn't be using any R-leaning webservers; rather, you'd start with any old web server, and then just make shell calls to R. Or, you _could_ do the "R as a service" type thing, and have your normal [Django] stack make a webservice call to the R-webservice.
Re:Building a statistical significance testing web service p... by hessenwolf on Thursday October 18, 2012 @11:12AM (#4669128)
I made one in pylons. It kept blowing up in the memory. It was a bitch to get up and running and then debug. And then, well, I wasn't sure what I couldn't do with highcharts and python libraries instead.
Re:Building a statistical significance testing web service p... by garysieling on Thursday October 18, 2012 @11:19AM (#4669162)
That's the general direction I am heading, although I haven't picked a front-end yet. I'm thinking of returning the more complex results as JSON, and using ExtJS for grids, charts, etc.
Re:Building a statistical significance testing web service p... by pav3l on Thursday October 18, 2012 @11:09AM (#4669118)
Yes, you can use rpy/rpy2 in your python code to delegate stats to R
Re:Building a statistical significance testing web service p... by tangue on Thursday October 18, 2012 @12:50PM (#4669591)
Keep in mind that R is an in-memory language and that each object you'll be creating will be stored in RAM. This could be tricky if you have huge datasets
Re:Building a statistical significance testing web service p... by taf2 on Thursday October 18, 2012 @09:50AM (#4668718)
This is really neat! You should post more examples, like if I had a range of data points could I post that data set and have R output a best fit line?
Re:Building a statistical significance testing web service p... by garysieling on Thursday October 18, 2012 @11:24AM (#4669183)
Thanks, glad you liked it, I have more examples coming.

There is a library you can install that looks like a web-based charting frontend for R, although I have not had a chance to try it-

http://www.stat.ucla.edu/~jeroen/ggplot2/