Andreas Leha andreas.l...@med.uni-goettingen.de 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
Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org 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
Michael Bach pha...@gmail.com writes:
Andreas Leha andreas.l...@med.uni-goettingen.de 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}
inner_test()
Eric Schulte eric.schu...@gmx.com 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
Michael Bach pha...@gmail.com writes:
Eric Schulte eric.schu...@gmx.com 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
Andreas Leha andreas.l...@med.uni-goettingen.de 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}
inner_test()
\end{equation}
#+end_src
Yes, that works. Thanks
Hi Michael,
Michael Bach wrote:
Andreas Leha andreas.l...@med.uni-goettingen.de 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}
inner_test()
\end{equation}
Michael Bach pha...@gmail.com 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
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