[R] Calling R from PHP on Win2K?

Paolo Tenconi tencpa at yahoo.it
Sun Nov 2 08:35:37 CET 2003


You could query your dbase using the RMySql package and then publish your 
results using the RWeb package.
Paolo



On Sat, 1 Nov 2003 15:00:04 -0800, John Kim <johnbkim at fastmail.fm> wrote:

> 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.
>
> -John
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list