> On May 28, 2018, at 7:35 AM, Eric S Fraga <esflists@gmail.com> wrote:
>
> On Monday, 28 May 2018 at 11:13, Julian M. Burgos wrote:
>> 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.
>
> Something along the lines of:
>
> (org-babel-goto-named-src-block "myRcode") Maybe wrap it in
> (org-babel-execute-src-block)
>
> should do the job?
(save-excursion ... )
or use
(org-sbe "myRcode")
or
(org-babel-ref-resolve "myRcode")
which both can also pass :var args.
HTH,
Chuck