Forum: Ruby R and Ruby

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alex G. (Guest)
on 2006-05-19 13:28
(Received via mailing list)
Hello everyone,

I'm releasing the latest version of my R<->Ruby code called RSRuby.
Writing it has scratched an itch that I've had for a while, and
although it's still a while away from being feature complete or bug
free, I probably won't be able to spend too much more time on it. So
if anyone else wants to take the code and add it to their project
then they're very welcome. It's basically a port of the RSPerl module
(or part of it anyway), hence the RSRuby name. I've only tested it
with R though, so I have no idea whether it runs with S. I've tested
it on Linux (Ubuntu) and OS X, but I have no idea whether it's
possible to get it running under Windows (I sort of doubt it!).
Please be aware that the installation procedure requires you to
install the Ruby code AND some R code separately. The README file
should hopefully explain it. Without the R code installed RSRuby
won't load.

You can download the tar.gz here:

And some (very basic) docs can be found here:

It's been a good exercise for me in learning the Ruby C API (which I
can confirm is a lot nicer than Perl's!), so if anyone finds it
useful/interesting then that's a bonus as far as I'm concerned.

Sample code:

require 'RSRuby/rsruby'

r =
normal_data = r.rnorm(100)
r.plot({:x => normal_data, :xlab => 'Test'})

Dr Alex G.
Post-Doctoral Researcher

Bioinformatics Center
Institute for Chemical Research
Kyoto University
Gokasho, Uji, Kyoto 611-0011
M. Edward (Ed) Borasky (Guest)
on 2006-05-20 06:30
(Received via mailing list)
You might want to submit this to the Comprehensive R Archive Network

Alex G. wrote:
> Linux (Ubuntu) and OS X, but I have no idea whether it's possible to
> r =
> Gokasho, Uji, Kyoto 611-0011
> Japan

M. Edward (Ed) Borasky
This topic is locked and can not be replied to.