From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Difference between eval and export Date: Mon, 29 Sep 2014 18:32:38 -0500 Message-ID: References: <28C8F16D-2F4D-441A-8556-C1BF087F797E@gmail.com> <7BF13CBC-2578-4E43-98B7-3D6D7D4D6C18@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYkQx-0003eT-4y for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 19:32:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYkQv-0002Wr-Qw for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 19:32:47 -0400 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:35999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYkQv-0002Vm-M7 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 19:32:45 -0400 Received: by mail-oi0-f42.google.com with SMTP id u20so13806705oif.1 for ; Mon, 29 Sep 2014 16:32:39 -0700 (PDT) In-Reply-To: <7BF13CBC-2578-4E43-98B7-3D6D7D4D6C18@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Johannes Rainer Cc: Rainer M Krug , "emacs-orgmode@gnu.org" How painful would it be to pare it down to the minimal example of the behav= ior? On Mon, Sep 29, 2014 at 6:14 AM, Johannes Rainer wrote: > I checked the environment variables in Emacs and also in R (using Sys.get= env). all environment variables are set correctly (I am now also using =E2= =80=9Cexec-path-from-shell=E2=80=9D to make sure that Emacs is reading syst= em environment variables). > It is absolutely strange. I only get the error when I export the org file= , but not if I execute R code chunk by code chunk sequentially. > > best, jo > > On 26 Sep 2014, at 21:58, Grant Rettke wrote: > >> On Fri, Sep 26, 2014 at 1:44 PM, Rainer M Krug wrote: >>> Grant Rettke writes: >>>> My eye is on you post about that topic because I would also like to kn= ow. >>> >>> As you are using R, and if you are using sessions, what about setting >>> them from within R[1]? >>> >>> Footnotes: >>> [1] http://stat.ethz.ch/R-manual/R-devel/library/base/html/Sys.setenv.= html >> >> Yes indeed. I am quite interested in the general mechanism of how the >> environment exists for when exports occur and in particular whether or >> not it is different somehow. Right now I've delegated things between >> [1] and .Renviron. > --=20 Grant Rettke gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson