emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] running a source code by name


From: Eric S Fraga
Subject: Re: [O] running a source code by name
Date: Mon, 28 May 2018 15:35:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

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")
    (org-babel-execute-src-block)

should do the job?

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-591-gee336b

Attachment: signature.asc
Description: PGP signature


reply via email to

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