From: Alex Gutteridge Date: 2010-11-02T02:08:31+09:00 Subject: Re: rsruby install trouble On Tue, 2 Nov 2010 00:40:19 +0900, Guybrush Threepwood wrote: > Alex Gutteridge wrote in post #958443: >> Assuming you are using Bash as your shell (I think it is the default in >> OSX), to define R_HOME put >> >> export R_HOME="/Library/Frameworks/R.Framework/Resources" >> >> Into ~/.bashrc and source it / restart the terminal session. If you're >> using a different shell then Google for how to set environment >> variables. > > Unfortunately, that didn't work either, as it still spits out the same > error. I tried it with and without the quotes, but in both cases it just > doesn't see it. Any other possibilities? Type the following and show me your terminal output. export R_HOME="/Library/Frameworks/R.framework/Resources/" $R_HOME irb require 'rsruby' RSRuby.instance This is what I get: GUTTEA$ export R_HOME="/Library/Frameworks/R.framework/Resources/" GUTTEA$ $R_HOME -bash: /Library/Frameworks/R.framework/Resources/: is a directory GUTTEA$ irb >> require 'rsruby' => true >> RSRuby.instance => ##, "helpfun"=>#, "help"=>#, "NaN"=>NaN, "FALSE"=>false, "TRUE"=>true, "F"=>false, "NA"=>-2147483648, "eval"=>#, "T"=>true, "parse"=>#}, @proc_table={}> -- Alex Gutteridge