Hseu-Ming Chen
2008-May-27 22:26 UTC
[R] stateful computation for web-based R across HTTP requests
Hi, A friend just introduced me to R today and I think it is really nice after browsing its web site. I'm eager to cook up some web-based interface to use R at work for more platform-independent access. I plan to implement it in a Python-based framework such as TurboGears or Django on either FreeBSD or Linux platform. My question is: how do i maintain stateful computations across sessions, namely HTTP requests? I mean, if needed, I would like to be able to retain the "environment" (all pertinent data, variables, previously calculated results, etc.) from earlier web requests in the interpreter engine? I'm not sure what it is called in the R Project but i would imagine the word connection/session/stateful is probably there. Or should I use RWEB instead? If so, how do i maintain the stateful computation across HTTP sessions? i don't want to re-invent the wheel. [[alternative HTML version deleted]]
Gabor Grothendieck
2008-May-27 22:33 UTC
[R] stateful computation for web-based R across HTTP requests
Check out http://www.rpad.org On Tue, May 27, 2008 at 6:26 PM, Hseu-Ming Chen <hseuming at gmail.com> wrote:> Hi, > A friend just introduced me to R today and I think it is really nice after > browsing its web site. I'm eager to cook up some web-based interface to use > R at work for more platform-independent access. I plan to implement it in > a Python-based framework such as TurboGears or Django on either FreeBSD or > Linux platform. My question is: how do i maintain stateful computations > across sessions, namely HTTP requests? I mean, if needed, I would like to > be able to retain the "environment" (all pertinent data, variables, > previously calculated results, etc.) from earlier web requests in the > interpreter engine? I'm not sure what it is called in the R Project but i > would imagine the word connection/session/stateful is probably there. > > Or should I use RWEB instead? If so, how do i maintain the stateful > computation across HTTP sessions? i don't want to re-invent the wheel. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >