From: Alex Gutteridge Date: 2010-10-28T17:25:52+09:00 Subject: Re: rsruby install trouble On Thu, 28 Oct 2010 07:40:14 +0900, Guybrush Threepwood wrote: > Hello, trying for no particular reason to create a K constant calculator > for chemical equilibrium for a chemical reaction. The way the experiment > was done, I need to put a best fit line on some data. R, and therefore, > RSRuby, seems like the best to do this (if I'm wrong, please enlighten), > but I cannot get RSRuby working. I'm using R 2.8.1 (I found something > which said R 2.9.x doesn't work well with rsruby, not sure on the > validity of that, but, whatever), Mac OS X 10.4.11, and what happens is > the following. > > I unpack the R package, and it goes into /Library/Frameworks/ > [snip] > > Point is, anyone know a) what I'm doing wrong or (preferably) b) an > easier way to do this? Try the gem. This works for me with ruby 1.8.7, R 2.10.1 on OSX 10.6.4. >gem install rsruby -- --with-R-dir=/Library/Frameworks/R.framework/Resources/ Building native extensions. This could take a while... Successfully installed rsruby-0.5.1.1 1 gem installed Installing ri documentation for rsruby-0.5.1.1... Installing RDoc documentation for rsruby-0.5.1.1... -- Alex Gutteridge