What Ruby gems are there that can perform data processing?
There are 3 ways that I know of to access R from Ruby:
RinRuby is the slowest, RSRuby is the fastest and Rserve is closer to RSRuby in performance. RSRuby however is quite platform specific and you need to compile R with the sharelib option. Rserve-Ruby-Client is easier in that aspect since Rserve provides a TCP socket server for you to send commands to R interpreter.
AFAIK all 3 are unfortunately not as well documented for beginners. Rserve-Ruby-Client is pretty active, the other 2 are less so.
Srikant is probably right that this would get better answers at stack overflow, but here's a quick answer anyway:
Rubygsl provides an interface to the GNU Scientific Library.
RSRuby provides a way to invoke R commands through Ruby
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With