forked from mirrors/org-mode
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.
10 lines
247 B
EmacsLisp
10 lines
247 B
EmacsLisp
(load "org-exp-blocks.el")
|
|
|
|
(defun org-exp-preprocess ()
|
|
"This is a simple helper to preprocess a file without actually
|
|
exporting to html or latex. Useful for debugging."
|
|
(interactive)
|
|
(let ((htmlp t))
|
|
(org-export-blocks-preprocess)))
|
|
|