[R] R script From PHP

Marianne Promberger marianne.promberger at kcl.ac.uk
Tue Dec 1 11:29:35 CET 2009


Amrit Nandan <amrit.nandan at gmail.com> 01-Dec-09 08:27:
> I have created a web interface to enable analysis for users without having
> much to worry about the stats in the backend. In this particular case I have
> reached a stage where I have finally created two arrays between which I want
> to do an independant samples T Test. I have the arrays ready in a PHP
> script, I was hoping if someone could guide me how to invoke R , pass these
> arrays into it and finally get the ttest results out.

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

and littler
http://dirk.eddelbuettel.com/code/littler.html
might come in handy as well.

-- 
Marianne Promberger PhD, King's College London
http://promberger.info
R version 2.10.0 (2009-10-26)
Ubuntu 9.04




More information about the R-help mailing list