From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Julian M. Burgos" Subject: running a source code by name Date: Mon, 28 May 2018 11:13:18 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNG5q-000816-Jl for emacs-orgmode@gnu.org; Mon, 28 May 2018 07:13:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNG5n-0007R1-Dp for emacs-orgmode@gnu.org; Mon, 28 May 2018 07:13:38 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:54314) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNG5m-0007Je-QY for emacs-orgmode@gnu.org; Mon, 28 May 2018 07:13:35 -0400 Received: from hafgangur (sjavarsveit.s4.is [130.208.57.241]) by hafgarpur.hafro.is (8.14.4/8.14.4/hafro-2.54) with ESMTP id w4SBDNpb006934 for ; Mon, 28 May 2018 11:13:24 GMT 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: emacs-orgmode 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 thi= s #+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=C3=B3knastofnun, ranns=C3=B3kna- og r=C3=A1=C3=B0gjafarstofnun h= afs og vatna/ Marine and Freshwater Research Institute Botnsj=C3=A1varsvi=C3=B0s / Demersal Division Sk=C3=BAlagata 4, 121 Reykjav=C3=ADk, Iceland S=C3=ADmi/Telephone : +354-5752037 Br=C3=A9fs=C3=ADmi/Telefax: +354-5752001 Netfang/Email: julian.burgos@hafogvatn.is