Multivariable linear regression


I need to do some multivariable linear regression from RoR.

I have found one possible solution:

  1. Install R on my host (Dreamhost)
  2. Use the “R for Ruby” gem

Using a complex statistical package such as R seems a bit complicated
however, and I am wondering if you would have a simpler solution ?

The data is gathered online from the user, stored in the mySQL database,
and I need the multivariable linear regression to be done on demand.

Thank you !

I’ve never used it myself, but a quick google for “ruby multiple
regression” turned this up: