From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Multiple (identical) RESULTS blocks of one code block? Date: Tue, 10 Mar 2015 10:02:58 +0100 Message-ID: References: <87d24hmx2i.fsf@gmail.com> 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]:58001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVG4E-0005F9-VH for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 05:03:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVG4A-0005FX-SP for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 05:03:10 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:46200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVG4A-0005Et-NM for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 05:03:06 -0400 Received: by wesk11 with SMTP id k11so133703wes.13 for ; Tue, 10 Mar 2015 02:03:05 -0700 (PDT) Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id xy2sm17423051wjc.14.2015.03.10.02.03.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 02:03:04 -0700 (PDT) In-Reply-To: <87d24hmx2i.fsf@gmail.com> (Aaron Ecay's message of "Mon, 09 Mar 2015 23:05:38 -0300") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Aaron Ecay writes: > Hi Rainer, > > 2015ko martxoak 9an, Rainer M Krug-ek idatzi zuen: >> >> Hi >> >> Consider the following: >> >> --8<---------------cut here---------------start------------->8--- >> * The calculation >> #+NAME: testcode :exports both > > It looks like you=E2=80=99ve tried to put a header argument into the name= . Is > it merely an accident? I ask because... Accident - the header argument should be behind the code block beginning and not the NAME - sorry. > >> #+begin_src R :session test >> runif(10) >> #+end_src >> >> >> * summary of the results >> First time >> #+RESULTS: testcode :exports both >> | 0.772744940361008 | >> | 0.170518629485741 | >> | 0.0833237133920193 | >> | 0.149035625392571 | >> | 0.698798568220809 | >> | 0.627075897762552 | >> | 0.177144371205941 | >> | 0.0476319056469947 | >> | 0.289851602632552 | >> | 0.0296813279855996 | >> >> * and another >> testthingy >> #+RESULTS: testcode :exports both > > ...here it reoccurs, in identical format. This is fine, interpreted > as just a weird block name (and not as an actual header argument). > But if you=E2=80=99re trying to allow the header arguments to vary for th= e two > result blocks I don=E2=80=99t think it will be very nice. (It would requ= ire > re-evaluating the code block for each different combination of header > arguments, which would give unexpected behavior in the case of side > effects, etc. etc.) I think I clud do this by using =3D#+CALL testcode=3D but this is not w=3Dh= at I wanted. > > Maybe it=E2=80=99s not very important, but I just figured I=E2=80=99d ask= for > clarification. Sure - I should be looking more carefully when typing. Is my brain really that slow, as I am not a fast typer... Cheers, Rainer > > Thanks, > > -- > Aaron Ecay > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJU/rNHAAoJENvXNx4PUvmCi9wH/2jttfC2i02FFJW2G/zeXoZg VNHzT56asyFs/Y7OAJc2+q5/CqxjffYeSyfyncE+2tb7kjT1Sc+DaKnEmUuO3rVk z7Kz+exouh3FE2TJFojGY8lpAt1qxFbbLqeaBwZojv+YHxtFpNFuFrpgVDY0pvRQ IhJLkvcdGtf0flW1Vv3GHqFMdgD+BWHjY5dNG77voVqV2dFEcvRjHYF1bkFXWiJ6 +Z8tIX+gPCVlrP5bk5HQX7rX2QHGrEUcz7fXyzCx3t24sXDJshlKnuHvONahO6Uv eNNQRf8qQvbPsBepSls1Cz4JEDuNpPH20T2FQRclfQDtnenRZWp0Tmu+55z///I= =/K5N -----END PGP SIGNATURE----- --=-=-=--