RSRuby facilitates communication and interaction between Ruby and R interpreted language, acting as a bridge for seamless data analysis and statistical modelling.
RSRuby is a partial conversion of RPy, and it shares the same goals of robustness, ease of use, and speed. The current version is stable and has passed 90% of the RPy test suite. Though there are differences in conversion and method calling semantics between RPy and RSRuby, they are now largely similar in functionality.
The future looks bright for RSRuby, and the developers plan to add handling of OS signals, user-definable I/O functions, improved DataFrame support, and inevitable bug fixes.
Installing RSRuby requires a working R installation. R must have been built with the ‘-enable-R-shlib’ option enabled to provide the R shared library used by RSRuby. Users should ensure that the R_HOME environment variable is set appropriately. Once the environment is set up, users can install RSRuby using either the RSRuby gem or the package using setup.rb. The installation requires users to provide the location of their R library to compile the extension. If RSRuby does not compile correctly, users may need to configure the path to the R library by putting the appropriate line in the .bashrc file or making a link to RHOME/bin/libR.so in /usr/local/lib or /usr/lib. Users can then run ‘ldconfig’ to complete the configuration.
The latest RSRuby release fixes a few bugs and adds an RSRuby.img() method to make plotting to files more manageable. There’s no need for users to remember r.dev_off.call all the time.
Version 0.5: N/A