Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

regarding integrating R into Web-applications

Tags:

java

r

I have been using R to perform statistical analysis. I would like to know how to integrate the R-based analysis into a Web-application. For instance, let user submit the data, and invoke R to perform related analysis on the back-end.

The possible Web-application will be written in Java. What confuses me is the integration process.

I am new to Web-application, so any suggestions, tutorials, and examples will be highly-appreciated.

like image 970
user297850 Avatar asked Oct 08 '22 08:10

user297850


2 Answers

Have you looked at RSS, Rweb, R Node, etc?

http://www.unt.edu/rss/Rinterface.htm

http://www.math.montana.edu/Rweb/

http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-Web-Interfaces

http://www.decisionstats.com/r-node-and-other-web-interfaces-to-r/

http://sysbio.mrc-bsu.cam.ac.uk/Rwui/

like image 192
bill_080 Avatar answered Oct 12 '22 09:10

bill_080


To run R code inside Java, I recommend to use the JRI library. To get started with java web applications, you should read a tutorial such as Oracle's "Get started with Web Applications".

like image 28
sulai Avatar answered Oct 12 '22 10:10

sulai