[R] Newbie Question: Using R with PHP and MySQL

Dieter Menne dieter.menne at menne-biomed.de
Thu Aug 23 15:17:12 CEST 2007


MASFERFC Team <masferfc <at> gmail.com> writes:

> I'm currently running MySQL 5 queries with PHP 5.2.3 and returning results
> to the end-user in web-page tables of ca. 50 rows by 5 columns. I'd like to
> (more or less) simultaneously return to the browser a couple of "canned"
> charts and graphs based on the data. Nothing fancy, two pie charts and two
> simple bar-charts to start. I need to generate these on-the-fly, based on
> the results of the MySQL query, and display them in the web-page, beside the
> table data.
> 
> What's the best reference, if there is one,  for PHP, MySQL, R integration?

It's not the best, but it's simple, works for all our sites and comes with a
sample: package phpSerialize. Graphs are should be written to a file as png and
linked via standard HTML.

Dieter



More information about the R-help mailing list