From: Alex Gutteridge Date: 2010-11-01T17:54:18+09:00 Subject: Re: rsruby install trouble On Mon, 1 Nov 2010 08:18:35 +0900, Guybrush Threepwood wrote: > Sorry, actually, I'm having one more issue. When I get to the section of > the program that calls R, it says "Fatal Error: R home directory is not > defined." I thought I saw something to the effect that I stick a line of > code in some file, but I do not remember what. Do you know what that is? 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. -- Alex Gutteridge