# Social network analysis tools + ruby + mac

**URL:** <https://www.ruby-forum.com/t/social-network-analysis-tools-ruby-mac/124698>\
**Category:** Ruby\
**Created:** [January 1, 2008, 7:25am UTC](https://www.ruby-forum.com/t/social-network-analysis-tools-ruby-mac/124698 "2008-01-01T07:25:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billy\_Smith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3ab097/32.png) [@Billy\_Smith](https://www.ruby-forum.com/u/Billy_Smith)\
**Post date:** [January 1, 2008, 7:25am UTC](https://www.ruby-forum.com/t/social-network-analysis-tools-ruby-mac/124698/1 "2008-01-01T07:25:15Z")

</div>

Hi there. I have a large dataset of people (nodes) and their  
relationships  
(edges) and I’d like to do some social network analysis on it (e.g.  
calculate betweenness of nodes, centrality, etc). I have two things I’d  
like to be using: Ruby (as I’m new to programming and this is the  
language  
I’ve been learning and love it!) and my Mac. Unfortunately, most of the  
analytical tools I’ve found are for PC (e.g. Pajek, UCINET), and I  
haven’t  
been able to find any Ruby libraries/tools to help (though there are  
some  
pretty mature ones for Python I see). Someone please help me - the last  
thing I want to do is bootcamp and python…

Best,  
Billy

---

<div class="post-metadata">

**Author:** ![Billy\_Smith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3ab097/32.png) [@Billy\_Smith](https://www.ruby-forum.com/u/Billy_Smith)\
**Post date:** [January 3, 2008, 10:50am UTC](https://www.ruby-forum.com/t/social-network-analysis-tools-ruby-mac/124698/2 "2008-01-03T10:50:45Z")

</div>

On 1 Jan 2008, at 06:24, Billy Smith wrote:

> haven’t  
> been able to find any Ruby libraries/tools to help (though there are  
> some  
> pretty mature ones for Python I see). Someone please help me - the  
> last  
> thing I want to do is bootcamp and python…
> 
> Best,  
> Billy

IGraph ([http://cneurocvs.rmki.kfki.hu/igraph/](http://cneurocvs.rmki.kfki.hu/igraph/)) and its Ruby bindings  
([http://igraph.rubyforge.org/igraph/](http://igraph.rubyforge.org/igraph/)  
) are designed for this kind of analysis. It can do betweenness and  
centrality and quite a few other things. Let me know if you have any  
problems.

Alex G.
