From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Rainer Subject: Re: Difference between eval and export Date: Tue, 30 Sep 2014 08:12:09 +0200 Message-ID: References: <28C8F16D-2F4D-441A-8556-C1BF087F797E@gmail.com> <7BF13CBC-2578-4E43-98B7-3D6D7D4D6C18@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYqfh-0008F3-SK for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 02:12:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYqfb-0007as-B8 for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 02:12:25 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:51097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYqfb-0007Yg-5E for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 02:12:19 -0400 Received: by mail-wg0-f52.google.com with SMTP id n12so12725077wgh.11 for ; Mon, 29 Sep 2014 23:12:13 -0700 (PDT) In-Reply-To: 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: Grant Rettke Cc: Rainer M Krug , "emacs-orgmode@gnu.org" I tried to make an example that does not need a lot of input data but = without success. never mind, it works if I run the code on a single cpu, = or if I run it on a linux machine. On 30 Sep 2014, at 01:32, Grant Rettke wrote: > How painful would it be to pare it down to the minimal example of the = behavior? >=20 > 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.getenv). 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 system 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. >>=20 >> best, jo >>=20 >> On 26 Sep 2014, at 21:58, Grant Rettke = wrote: >>=20 >>> 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 know. >>>>=20 >>>> As you are using R, and if you are using sessions, what about = setting >>>> them from within R[1]? >>>>=20 >>>> Footnotes: >>>> [1] = http://stat.ethz.ch/R-manual/R-devel/library/base/html/Sys.setenv.html >>>=20 >>> 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 >=20 >=20 >=20 > --=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 stop > taking it seriously.=E2=80=9D --Thompson