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 18:02:58 -0500	[thread overview]
Message-ID: <CA+M2ft9zmwHFpcGgj4VYe1LCC-ZfFysxUNvpHuxrXh8d8YGnCA@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?
>

Grr. Apparently R updated on it's own somehow and I missed it. My
org-babel-R-command was pointing to ../2.15.0/bin/ instead of
/2.15.1/bin/.

Updating this fixed the issue.

Is there a better way to set this vs. having to manually update the path?

Thanks,
John

> If this problem persists please send an error trace (with
> `debug-on-error' set to t).
>
> Cheers,
>
>>
>>
>> John
>>
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-04-09 23:03 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 [this message]
2013-04-10  2:53     ` Charles Berry
2013-04-10  4:17       ` Nick Dokos
2013-04-10  4:06   ` John Hendy

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+M2ft9zmwHFpcGgj4VYe1LCC-ZfFysxUNvpHuxrXh8d8YGnCA@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).