Skip to content
Back to formatted view

Raw Message

Message-ID: <m2vf4ob37n.fsf@macaroni.local>
Date: 2005-06-09T05:48:22Z
From: Seth Falcon
Subject: some errors
In-Reply-To: <20050609003836.GB9993@turmalin.kubism.ku.dk> (Kasper Daniel Hansen's message of "Thu, 9 Jun 2005 02:38:36 +0200")

Hi Kasper,

On  8 Jun 2005, k.hansen@biostat.ku.dk wrote:
> On the terminal as well as using ESS (Emacs) I can not get
> .libPaths() to include /Users/kdh/Library/R despite the fact that I
> have exported it from ~/.profile and the variable is set (output
> below).  I have also tried using ~/.Renviron

I suspect the issue here is that Emacs isn't picking up your
environment.  GUI apps started from the Finder don't get the same
environment (.profile, .bash_profile, etc.) that apps started from the
Terminal do.

My solution: I start my Emacs from Terminal and then it inherits the
proper PATH and other env vars such as R_LIBS.

There is another possible solution that involves editing
~/.MacOSX/environment.plist, but I never managed to get that working
as I wanted.

Best,

+ seth