This page provide three examples to use PHP call R including argument passing and graph display which are the basic functions used for WEB techniques. Each example provides the on-line result. The new version of R can also use Rscript to simplify the interface between R and PHP.
-
Simple example:
- Example 1. -- PHP communicate with R
- Example 2. -- PHP display the plot created by R
- Example 3. -- More plots created by R