Skip to content

how to call R in PHP

3 messages · Lauren Zhang, Jeff Newmiller, Gergely Daróczi

#
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 batch arguments the same way you would call it from the command interpreter, but not actually via the command interpreter.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.
Lauren Zhang <zxj19880912 at yahoo.cn> wrote: