How do I determine if my R installation on OS X has the "--enable-R-shlib" option enabled?

Posted by Milktrader on Stack Overflow See other posts from Stack Overflow or by Milktrader
Published on 2010-12-25T02:43:03Z Indexed on 2010/12/25 2:54 UTC
Read the original article Hit count: 266

Filed under:
|
|
|

I've installed R on my OS X machine via the .pkg method. I'm trying to get a Ruby gem called RSRuby to work and though it installed correctly, it's throwing an error when I try to invoke the gem.

Fatal error: R home directory is not defined

Reading the documentation, R should be installed with the option --enable-R-shlib. But the R documentation states that the Mac OS X installation does this by default. How can you verify that this option is enabled on an installation if you don't know it was explicitly called during installation?

I'm chasing down why RSRuby can't find R home directory and this seems like the most likely problem.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about r