"Sebastien Vauban"
writes:
> That's perfectly correct: as long as your input code block does not change
> (options on the "meta" line and/or contents), your results will be taken "as
> is", instead of being recomputed every time.
Very nice, Thanks for confirmation!
Michael
Andreas Leha writes:
> yes, that should work. Try to export the following several times. The
> first number should not change.
> (note: maybe you'd have to execute the inner_test_cached once on your
> system)
>
> #+name: inner_test_cached
> #+begin_src R :cache yes :exports none
> rnorm(1)
>
Michael Bach writes:
> Andreas Leha writes:
>
>> would this noweb-based approach work for you:
>>
>> #+name: inner_test
>> #+begin_src R
>> 4 + 4
>> #+end_src
>>
>> #+name: test
>> #+begin_src latex :noweb yes
>> \begin{equation}
>> <>
>> \end{equation}
>> #+end_src
>>
>
> Yes, that wo
Hi Michael,
Michael Bach wrote:
> Andreas Leha writes:
>
>> would this noweb-based approach work for you:
>>
>> #+name: inner_test
>> #+begin_src R
>> 4 + 4
>> #+end_src
>>
>> #+name: test
>> #+begin_src latex :noweb yes
>> \begin{equation}
>> <>
>> \end{equation}
>> #+end_src
>
> Yes,
Andreas Leha writes:
> would this noweb-based approach work for you:
>
> #+name: inner_test
> #+begin_src R
> 4 + 4
> #+end_src
>
> #+name: test
> #+begin_src latex :noweb yes
> \begin{equation}
> <>
> \end{equation}
> #+end_src
>
Yes, that works. Thanks for your thoughts on this, And
Michael Bach writes:
> Eric Schulte writes:
>
>
>> I don't know of a way to evaluate inline code blocks which are already
>> inside of regular code blocks.
>
> Thanks for your thoughts on this, Eric. This would be *really*
> convenient for me. Too bad the christmas wishlist was processed
> a
Eric Schulte writes:
> I don't know of a way to evaluate inline code blocks which are already
> inside of regular code blocks.
Thanks for your thoughts on this, Eric. This would be *really*
convenient for me. Too bad the christmas wishlist was processed
already.
> You could try direct begi
Michael Bach writes:
> Hello,
>
> I am using org-mode version 7.8.02
>
> I can successfully do inline `src_R' e.g. via
>
> \begin{equation}
> src_R{4 + 4}
> \end{equation}
>
> where `8' is put into the equation environment on export. Sadly, there
> is no LaTeX font lock in the org file this wa
Hello,
I am using org-mode version 7.8.02
I can successfully do inline `src_R' e.g. via
--8<---cut here---start->8---
\begin{equation}
src_R{4 + 4}
\end{equation}
--8<---cut here---end--->8---
where `8' is put into the eq