emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] running a source code by name


From: Julian M. Burgos
Subject: [O] running a source code by name
Date: Mon, 28 May 2018 11:13:18 +0000
User-agent: mu4e 0.9.18; emacs 25.3.1

Dear list,

I have an org file with an R source code block.  I want to have a second
code block with an elisp call to run that first code.  Something like this



#+begin_src emacs-lisp :results silent :tangle no

... Some elisp code to run the "myRcode" block.

#+end_src


#+NAME: myRcode
#+beg in_src R :results silent :tangle no

... My R code here

#+end_src

What would be the best way to do it?

Many thanks,

Julian


--
Julian Mariano Burgos, PhD
Hafrannsóknastofnun, rannsókna- og ráðgjafarstofnun hafs og vatna/
Marine and Freshwater Research Institute
Botnsjávarsviðs / Demersal Division
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]