[R] Any good R server-with connection examples

Matt Shotwell matt.shotwell at Vanderbilt.Edu
Tue Oct 23 15:41:52 CEST 2012

> I want to connect R with HTML/PHP pages to take input from user,do
> some
> statistical processing on it  & show results to HTML page again.
> I search on net,i got Rserve package,but examples  are mainly for java
> langaure & not for PHP
> i am wondering how to connect it to PHP-Apache-MySQL
> Is there any good tutorial/video which will tell me how to do that ?
> At least tell me logical way how to use it ?

Check out http://rapache.net/

rApache connects R and the Apache 2 web server, such that R can act as a
server-side scripting language, like PHP. This may be the easiest way,
using R, to take user input from the web browser.

The site has some decent documentation and links to examples.


More information about the R-help mailing list