I think that you can call the R script by system function in php. See ?commandArgs for passes arguments.
On Fri, Jan 16, 2009 at 5:50 PM, Applejus <ielkho...@gmail.com> wrote: > > Hi, > > I know I've already asked this question, but I am really getting trouble > getting a PHP document execute an R function on windows. > > I would appreciate if someone could give me a simple example code where a > php calls an R function and passes to it arguments, specifying also how to > set up the paths etc... (should the .r file be in the www directory, and > what settings should be done?) > > > Thanks! > > -- > View this message in context: > http://www.nabble.com/PHP-and-R-tp21507207p21507207.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.