[R] R script From PHP

Romain Francois romain.francois at dbmail.com
Tue Dec 1 13:05:46 CET 2009


On 12/01/2009 12:48 PM, Hrishi Mittal wrote:
> Hi Amrit,
>
> I believe you can you use the PHP system command to call Rscript or R CMD. I
> don't know much PHP but this page might be useful -
> http://php.net/manual/en/function.system.php.
>
> You might also want to look at rapache -
> http://biostat.mc.vanderbilt.edu/rapache/
>
> Good luck with your project and do post a link to your webpage when you get
> it running.

There is also a simple php client to Rserve in the next version of 
Rserve. http://www.rforge.net/Rserve/index.html

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/FtUu : new package : highlight
|- http://tr.im/EAD5 : LondonR slides
`- http://tr.im/BcPw : celebrating R commit #50000




More information about the R-help mailing list