Re: [R] how to call R in PHP

2013-03-28 Thread Gergely Daróczi
Hi, rapache.net is definitely worth to check. And also "rook" from the same author (Jeffrey Horner). Best, Gergely On 28 March 2013 03:19, Lauren Zhang wrote: > Hi, > I met tough problems when calling R in PHP. I have tried several ways, but > none of them succeed. > first of all, I tried Rser

Re: [R] how to call R in PHP

2013-03-27 Thread Jeff Newmiller
While someone around here might know about PHP (I don't h, the fact that you don't know how to call system suggests that you should be asking in a PHP help forum. Rserve can be used for interactive sessions, but web services usually aren't designed that way, so you probably want to call R with

[R] how to call R in PHP

2013-03-27 Thread Lauren Zhang
Hi, I met tough problems when calling R in PHP. I have tried several ways, but none of them succeed.  first of all, I tried Rserve, but I failed to connect to it. Then, I tried cmd.exe. I get the result when I use" R CMD BATCH --vanilla..." in cmd, but I have no idea how to call cmd in php. I k