emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johannes Rainer <johannes.rainer@gmail.com>
To: Grant Rettke <gcr@wisdomandwonder.com>
Cc: Rainer M Krug <Rainer@krugs.de>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Difference between eval and export
Date: Mon, 29 Sep 2014 13:14:06 +0200	[thread overview]
Message-ID: <7BF13CBC-2578-4E43-98B7-3D6D7D4D6C18@gmail.com> (raw)
In-Reply-To: <CAAjq1me2s=1T7z+QLjdgHwHF-Dz41FBBJeBX2UvbGG1UvezAEw@mail.gmail.com>

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 “exec-path-from-shell” 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.

best, jo

On 26 Sep 2014, at 21:58, Grant Rettke <gcr@wisdomandwonder.com> wrote:

> On Fri, Sep 26, 2014 at 1:44 PM, Rainer M Krug <Rainer@krugs.de> wrote:
>> Grant Rettke <gcr@wisdomandwonder.com> 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]?
>> 
>> 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.

  reply	other threads:[~2014-09-29 11:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 10:43 Difference between eval and export Johannes Rainer
     [not found] ` <CAAjq1meS893n_=kZEaFWDKjX_PmJnF82k+8bFZXE-g0+so6LRQ@mail.gmail.com>
2014-09-26 13:17   ` Johannes Rainer
2014-09-26 13:20     ` Grant Rettke
2014-09-26 18:44       ` Rainer M Krug
2014-09-26 19:58         ` Grant Rettke
2014-09-29 11:14           ` Johannes Rainer [this message]
2014-09-29 23:32             ` Grant Rettke
2014-09-30  6:12               ` Johannes Rainer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7BF13CBC-2578-4E43-98B7-3D6D7D4D6C18@gmail.com \
    --to=johannes.rainer@gmail.com \
    --cc=Rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=gcr@wisdomandwonder.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).