forked from mirrors/org-mode
4985075c28
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.
13 lines
169 B
Org Mode
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
|