RSugar allows you to execute R language commands from Ruby.  It wraps rserve_client gem, providing some syntactic sugar and a few helper methods.