From: timr on
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


From: Ryan Davis on

On Dec 4, 2009, at 20:00 , timr wrote:

> 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.

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.


From: timr on
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



On Dec 4, 8:09 pm, Ryan Davis <ryand-r...(a)zenspider.com> wrote:
> On Dec 4, 2009, at 20:00 , timr wrote:
>
> > 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.
>
> 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.

From: Ryan Davis on

On Dec 5, 2009, at 17:10 , timr wrote:

> 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