[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Difference between eval and export

From: Rainer M Krug
Subject: Re: [O] Difference between eval and export
Date: Fri, 26 Sep 2014 20:44:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

Grant Rettke <address@hidden> 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]?


> On Fri, Sep 26, 2014 at 8:17 AM, Johannes Rainer
> <address@hidden> 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 <address@hidden> wrote:
>>> On Fri, Sep 26, 2014 at 5:43 AM, Johannes Rainer
>>> <address@hidden> 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.

[1]  http://stat.ethz.ch/R-manual/R-devel/library/base/html/Sys.setenv.html

Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: pgpUPjMaUKApA.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]