Closed gdkrmr closed 4 years ago
It should be a matter about org-babel evaluation. I didn't test with R as I don't have R installed, but emacs-lisp works out-of-box for org-babel evaluation. Please check with the example below.
* org-babel example
#+name: square
#+begin_src emacs-lisp
(* x x)
#+end_src
#+call: square(x=6)
Perhaps it is only necessary to enable R for org-babel. See how to enable certain language for org-babel by this link
I would like to generate a presentation, where I show some R source snippets and the result of the evaluation [1]. Is this possible?
In the following, the result is not shown on the slide.
[1] For an example, see here: https://slides.yihui.org/xaringan/#17