org-mode/existing_tools/exp-blocks/example-for-r.org
Eric Schulte 4985075c28 I was able to export the testing.Rorg example with org-exp-blocks.el
the results are in existing_tools/exp-blocks/example-for-r.html.  To
get this working I had to make two changes...

First in testing.Rorg, I changed every block as follows

from

 #+BEGIN_R:

 #+END_R

to

 #+BEGIN_R

 #+END_R

Second I fixed a broken regexp in org-exp-blocks.el

This is capable of running calculations on the R blocks and the inline
\R{} segments, but is not yet able to handle the image generation
commands.
2009-02-05 15:46:06 -08:00

13 lines
169 B
Org Mode

#+BEGIN_R
a <- 3
a
#+END_R
- the value of a is \R{a}
- the value of a + 3 is \R{a + 3}
#+BEGIN_R hidden_block, echo=FALSE, results=HIDE
a <- 3
b <- 6
#+END_R