emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Executable not found error with begin_src R but not begin_src R


From: John Hendy
Subject: Re: [O] 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

On Mon, Apr 8, 2013 at 8:53 PM, Eric Schulte <address@hidden> wrote:
> John Hendy <address@hidden> 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 via email to

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