From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: running a source code by name Date: Mon, 28 May 2018 15:35:02 +0100 Message-ID: <87h8mrq25l.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNJEs-0006G7-VW for emacs-orgmode@gnu.org; Mon, 28 May 2018 10:35:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNJEn-0006O0-Vy for emacs-orgmode@gnu.org; Mon, 28 May 2018 10:35:10 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:55908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNJEn-0006Mj-P8 for emacs-orgmode@gnu.org; Mon, 28 May 2018 10:35:05 -0400 Received: by mail-wm0-x235.google.com with SMTP id a8-v6so32671786wmg.5 for ; Mon, 28 May 2018 07:35:05 -0700 (PDT) In-Reply-To: (Julian M. Burgos's message of "Mon, 28 May 2018 11:13:18 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Julian M. Burgos" Cc: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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? =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-591-gee336b --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWwwTlgAKCRDIkZPY//z2 fev0AJ9xND0MXWP/yd6fsvawssXvcXl3JACfV0oSSkuQzgarH7QnpIZxommsvN4= =gB0H -----END PGP SIGNATURE----- --=-=-=--