Apache may not aware the PATH to R, try 'exec("/pathToR/R CMD ...")'.
In addition, apache and R should be in the same physical driver.

-Junwen

> I've developed a web application in PHP and R
>
> my script is
>
>
> <?php
>
> ...
> exec("R CMD BATCH --silent /home/marcello/R_in/myfile.bat
> /home/marcello/R_out/myfile.out");
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to