emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Executable not found error with begin_src R but not begin_src R :session on Windows
Date: Tue, 9 Apr 2013 23:06:34 -0500	[thread overview]
Message-ID: <CA+M2ft8QV4VB51yteNokJVR=6LXHfma-Z8qTX14m6Q+gZcdAHA@mail.gmail.com> (raw)
In-Reply-To: <87vc7wii5i.fsf@gmail.com>

On Mon, Apr 8, 2013 at 8:53 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
> John Hendy <jw.hendy@gmail.com> writes:
>
>> On 8.0-pre and have never had an issue with R source code blocks
>> before. I was just trying something simple like:
>>
>> #+begin_src R :exports results
>>
>> a <- 1+2
>> a
>>
>> #+end_src
>>
>> I got empty #+results block upon execution and the *Org Babel Error*
>> (something like that) buffer had an error about the executable not
>> being found. Adding =:session= produced results, though.
>>
>> Is there something new about the difference between execution with and
>> without sessions with R?
>>
>
> I'm able to execute R code on 8.0-pre with or without a session.
> Perhaps your `org-babel-R-command' variable doesn't point to R, or maybe
> you have a broken install?
>
> If this problem persists please send an error trace (with
> `debug-on-error' set to t).
>

But wait. If my issue was pointing to the wrong directory, I don't get
why :session vs. not would make a difference?

This is the exact error I get:

'R' is not recognized as an internal or external command,
operable program or batch file.

How does :session find R if it's not in Windows path and seems to
depend on explicitly being told where to look via org-babel-R-command?


John

> Cheers,
>
>>
>>
>> John
>>
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte

      parent reply	other threads:[~2013-04-10  4:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09  1:32 Executable not found error with begin_src R but not begin_src R :session on Windows John Hendy
2013-04-09  1:53 ` Eric Schulte
2013-04-09 23:02   ` John Hendy
2013-04-10  2:53     ` Charles Berry
2013-04-10  4:17       ` Nick Dokos
2013-04-10  4:06   ` John Hendy [this message]

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='CA+M2ft8QV4VB51yteNokJVR=6LXHfma-Z8qTX14m6Q+gZcdAHA@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.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).