12 ms·
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?
by tocomment 14y ago
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?
- k3n 14y agoOf 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.
- pav3l 14y agoYes, you can use rpy/rpy2 in your python code to delegate stats to R
- hessenwolf 14y agoI 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.
- garysieling 14y agoThat'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.