I just wrote a blogpost that shows how to call R from a processing sketch.
R is a powerfull open source statistic environment. I use the R engine to make some
calculation and use a processing sketch to visualize the generated data.
http://www.local-guru.net/blog/2010/08/10/calling-r-from-processing