[R] Calling R from PHP on Win2K?

John Kim johnbkim at fastmail.fm
Sun Nov 2 00:00:04 CET 2003

Hi everyone,

I'd like to call R from a PHP script to draw graphs (using data selected
from a MySQL database) on Windows 2000. I think what I need to do is:

1) Install R for Windows
2) Install Perl
3) From PHP make a system call to Rcmd.exe
4) ???

Does this seem right and/or possible? I'm not sure how PHP can "receive" the
graphic generated by R. I have Apache/PHP/MySQL running. Any help or
pointers would be appreciated.


More information about the R-help mailing list