rsruby gem

T

timr

Does anybody have rsruby gem running on snow leopard?
to get rsruby working, you need to install R with --enable-R-shlib. So
you need to install from source. When I try that I find that mac os x
cannot compile fortran code. To do so, I tried installing gfortran.
Then reinstalling R, but R still cannot compile its fortran files via
gfortran (possibly the gfortran is not compatible with SL either?).

So has anyone figure out how to do the install of R on SL and then
gotten rsruby to work? If so, any pointers would be appreciated...

if not I guess I have to wait until a fortran compiler falls from the
sky.
Thanks,
Tim
 
R

Ryan Davis

Does anybody have rsruby gem running on snow leopard?
to get rsruby working, you need to install R with --enable-R-shlib. So
you need to install from source. When I try that I find that mac os x
cannot compile fortran code. To do so, I tried installing gfortran.
Then reinstalling R, but R still cannot compile its fortran files via
gfortran (possibly the gfortran is not compatible with SL either?).
=20
So has anyone figure out how to do the install of R on SL and then
gotten rsruby to work? If so, any pointers would be appreciated...
=20
if not I guess I have to wait until a fortran compiler falls from the
sky.

I have it working (just verified)... I didn't install from source IIRC =
and yesterday I installed the latest R. I think you just want to point =
rsruby at /Library/Frameworks/R.framework and you're golden.
 
T

timr

Hi Ryan,
Thanks for responding.
So you installed R with the precompiled R for mac os X that comes with
its own installer?
http://cran.r-project.org/bin/macosx/
Could you please tell me what combination of program versions you are
running?
mac os 10.6.2 ?
R version 2.10.0 ?
ruby version 1.9.1p0?
rsruby version ?

that would be helpful.
Thanks,
Tim
 
R

Ryan Davis

Hi Ryan,
Thanks for responding.
So you installed R with the precompiled R for mac os X that comes with
its own installer?
http://cran.r-project.org/bin/macosx/
Could you please tell me what combination of program versions you are
running?
mac os 10.6.2 ?
yes

R version 2.10.0 ?
yes

ruby version 1.9.1p0?

no, I'm running stock ruby, so 1.8.7 something
rsruby version ?

whatever the latest gem is

when I installed the gem, I did have to have this set:

RS_HOME=/Library/Frameworks/R.framework/Resources
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top