# Ruby and R?

**URL:** <https://www.ruby-forum.com/t/ruby-and-r/85826>\
**Category:** Ruby\
**Created:** [February 16, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/ruby-and-r/85826 "2007-02-16T17:10:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plambert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@plambert](https://www.ruby-forum.com/u/plambert)\
**Post date:** [February 16, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/ruby-and-r/85826/1 "2007-02-16T17:10:50Z")

</div>

Is anyone on this list using Ruby and R (the statistics package)  
together? If so, what are you using to connect to R? Thanks,  
–Paul

---

<div class="post-metadata">

**Author:** ![plambert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@plambert](https://www.ruby-forum.com/u/plambert)\
**Post date:** [February 16, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/ruby-and-r/85826/2 "2007-02-16T18:19:38Z")

</div>

On Sat, 17 Feb 2007, Paul L. wrote:

> Is anyone on this list using Ruby and R (the statistics package)  
> together? If so, what are you using to connect to R? Thanks,  
> –Paul
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

[http://sciruby.codeforpeople.com/sr.cgi/RubyWithRlang](http://sciruby.codeforpeople.com/sr.cgi/RubyWithRlang)

-a

---

<div class="post-metadata">

**Author:** ![plambert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9d8465/32.png) [@plambert](https://www.ruby-forum.com/u/plambert)\
**Post date:** [February 19, 2007, 8:52am UTC](https://www.ruby-forum.com/t/ruby-and-r/85826/3 "2007-02-19T08:52:54Z")

</div>

On 17 Feb 2007, at 01:49, removed\_email\_address@domain.invalid wrote:

> [http://sciruby.codeforpeople.com/sr.cgi/RubyWithRlang](http://sciruby.codeforpeople.com/sr.cgi/RubyWithRlang)  
> I really should get round to updating that page with some RSRuby  
> information…

To Paul: RSRuby is a port of RPy (the equivalent Python module) and  
embeds a full R interpreter into Ruby. This means it _should_ be  
possible to access any R function/variable through Ruby. It’s  
available as a gem or source from Rubyforge:

[http://rubyforge.org/projects/rsruby/](http://rubyforge.org/projects/rsruby/)

With documentation here (the pdf manual is probably your best bet):

[http://web.kuicr.kyoto-u.ac.jp/~alexg/rsruby/](http://web.kuicr.kyoto-u.ac.jp/~alexg/rsruby/)

Feel free to email me any bug reports, patches, feature requests  
etc… I will try to accommodate.

Alex G.

Bioinformatics Center  
Kyoto University
