Dynamically create R-graphics for a web page

I spent several weeks studying some Rs, and I'm on how slippery and powerful it is. I use it to build some of the data returned from the SQL query, and I would like to be able to share these stories with others that I work with through the web portal.

I understand that I can create a cron task to run R-scripts on a web server for daily graphing from a website as images. But is it possible to somehow configure such things so that images are created only when the user views the page? That way, I could create a web interface that allows the user to select date ranges, etc. For an SQL query. (and then R analyze the data and plot them)

Any tips?

+6
web-applications r graphics
source share
3 answers

I don't do a lot of dynamic html stuff with R , but you can start with any of these

Also of interest is brew for mixing R text and R code in web templates.

+3
source share

I like to call R for statistical analysis from Python-driven websites with rpy2 .

+3
source share

Among other suggestions, you can use the JRI and call R from Java.

Another nice option is to use the mediawiki plugin (read about it in the R-Wiki ). It is very simple and gives you simple markup for R.

+1
source share

All Articles