tags:

views:

114

answers:

3

A friend needs to do some R programming for her PhD and since I'm a programmer, asked me to give her a hand.

So I took a look at some r related webstuff and discovered that you can interact with it through RPy (python) and statistics::R (perl). Is there a way for Rubyists to hook into R?

Is there a dipsh*t's guide to learning R (like a video series)?

+3  A: 

See RSRuby for accessing R functionality through Ruby.

As for a beginner's tutorial, try looking at "R For Beginners". I found it helpful when I had to learn some basic R for a statistics course.

bta
thanks for the RSRuby link and another thanks for the link to the beginners guide :)
stephenmurdoch
RSRuby is okay for some applications, but I ended up dropping from my toolkit a while back. I actually found that it's often easier and quicker to write out your data to a file, pull it into R, calculate your statistics, then output another file. The main problem is that the interface adds a lot of overhead, especially on large data sets.
chrisamiller
+1  A: 

RinRuby is another project that does the Ruby/R interface.

Andrew Redd
A: 

There is also a Ruby client for Rserve.

Martin Harrigan