From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Difference between eval and export Date: Fri, 26 Sep 2014 20:44:52 +0200 Message-ID: References: <28C8F16D-2F4D-441A-8556-C1BF087F797E@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXacj-0005fH-0O for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 14:52:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXacd-00009i-Hc for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 14:52:08 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:38726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXacd-0008Qy-Ap for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 14:52:03 -0400 Received: by mail-we0-f180.google.com with SMTP id q59so2952493wes.11 for ; Fri, 26 Sep 2014 11:51:57 -0700 (PDT) In-Reply-To: (Grant Rettke's message of "Fri, 26 Sep 2014 08:20:00 -0500") 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: "emacs-orgmode@gnu.org" , Johannes Rainer --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Grant Rettke writes: > My eye is on you post about that topic because I would also like to know. As you are using R, and if you are using sessions, what about setting them from within R[1]? Rainer > > > > On Fri, Sep 26, 2014 at 8:17 AM, Johannes Rainer > wrote: >> thanks Grant for this information. >> >> I was just wondering, because it seemed to me that some environment >> variables (from the shell) are present in the, while they some >> (LC_ALL) are not present in the export process. >> In my case, the export call fails with an error message, while there >> is no problem if I evaluate source block per source block from the >> buffer. >> >> At present I am therefore looking for a way to specify environment >> variables in the export process, but I have no idea how to do >> that... >> >> On 26 Sep 2014, at 15:11, Grant Rettke wrote: >> >>> On Fri, Sep 26, 2014 at 5:43 AM, Johannes Rainer >>> wrote: >>>> I am wondering what the difference between the eval of a source block = and the export of a buffer is in terms >>>> of the process in which the code is evaluated. >>> >>> When you evaluate a source block, it executes in the processed defined >>> by your configuration. Then the results of that evaluation are stored >>> according to your configuration. For example store the results in an >>> example block. >>> >>> Exporting is the conversion for the org file content into and file >>> format. During that process, you can configure whether or not you want >>> evaluation of source blocks to occur during that process. >> Footnotes:=20 [1] http://stat.ethz.ch/R-manual/R-devel/library/base/html/Sys.setenv.html =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUJbQqAAoJENvXNx4PUvmCah4H/3X2NdaT2WcSS6WnY+H73yo0 nCCTl4+qRWXcFlQSzSiXiMvYg9BJ4Xbm3HwyuxKrr3aiwXE32HBZ6RPOMSEOUgNK csqm9kwdZyq8Lnmk5n4QSqqb5f9UPUZezVCQ+O42O1EJ/IVloavvVaF2UaRoymXY A/EXZRXnq8yk8OODXpapZW90liGG6nTUW1wO0Y6OOfgcVqth4fDyniSVGBOKcKwz V/fQRTUEC+UCGEml2g6GdPXa0pEzuJDKPM5vYbHYJEgWCWLugjjuBLdwMrbmNU0j RWCwtRrhb3tI8Wc0VrmNMXUPHOKwoOHjl/aoJqiljNfcrqSTHQHoJ8zdwHlWCYQ= =I9cF -----END PGP SIGNATURE----- --=-=-=--