emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [babel] [bug] inline src_R breaks downstream src block


From: Eric Schulte
Subject: Re: [O] [babel] [bug] inline src_R breaks downstream src block
Date: Mon, 22 Aug 2011 14:08:50 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Rasmus <address@hidden> writes:

> "Charles C. Berry" <address@hidden> writes:
>
>> And I get
>>
>> [...]
>> Code block evaluation complete.
>> if: Args out of range: -1, -1
>
> I have updated to latest Emacs bzr and org-git. Starting emacs with the
> -q flag and trying the simple example src_R{1+1} I get the above error
> when I use org-babel-exp-inline-src-blocks. Eval via C-c C-c works as
> expected but when I export it halts due to
> org-babel-exp-inline-src-blocks errors.
>

I just tried the following with the latest Org-mode...

1. emacs -Q
2. evaluated the following elisp
   #+begin_src emacs-lisp
     (add-to-list 'load-path "~/.emacs.d/src/org/lisp")
     (load-file "~/.emacs.d/src/org/lisp/org-install.el")
     (load-file "~/.emacs.d/src/org/lisp/ob-sh.el")
   #+end_src
3. exported the attached file to both html and ASCII, and everything
   worked as expected
#+Title: something
#+OPTIONS: num:nil ^:nil

* inline code block example
Here is one src_sh{echo eric} and another src_sh{echo schulte} and
maybe even on more src_sh{echo patton}.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
blah blah src_R[:results output]{cat(rnorm(2))}
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
#+begin_src R :eval never :exports none
1+2
a <- b + c
xyz
#+end_src
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Perhaps the problem is specific to your system?

Cheers -- Eric

>
> —Rasmus

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

reply via email to

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