[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] running a source code by name
From: |
Nick Dokos |
Subject: |
Re: [O] running a source code by name |
Date: |
Mon, 28 May 2018 18:58:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Julian M. Burgos" <address@hidden> writes:
> 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.
(org-sbe myRcode)
Untested.
>
> #+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
>
>
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
- [O] running a source code by name, Julian M. Burgos, 2018/05/28
- Re: [O] running a source code by name, Eric S Fraga, 2018/05/28
- Re: [O] running a source code by name, Berry, Charles, 2018/05/28
- Re: [O] running a source code by name, John Kitchin, 2018/05/28
- Re: [O] running a source code by name, Berry, Charles, 2018/05/28
- Re: [O] running a source code by name, Julian M. Burgos, 2018/05/30
- Re: [O] running a source code by name, Berry, Charles, 2018/05/30
Re: [O] running a source code by name,
Nick Dokos <=