From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [babel] Call lines with "their own" results Date: Thu, 22 Mar 2012 09:24:49 +0100 Message-ID: <8762dxqbzi.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAdKw-0008L0-AA for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 04:25:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAdKr-0001Bl-JF for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 04:25:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:46795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAdKr-0001Bd-Bg for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 04:25:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SAdKp-0001l4-Pu for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 09:25:27 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Mar 2012 09:25:27 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Mar 2012 09:25:27 +0100 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 Hi all, Is there a way to force #+call line to have their own results block? Or what is the best practice to achieve that? I remember that there was a thread on this recently... Example: #+name: sampleblock #+begin_src R :colnames yes data.frame(par=1, val=1) #+end_src I can call this block: #+call: sampleblock() #+results: sampleblock() | 1 | 1 | Now, I want to call this block with different arguments, but instead of placing the results here, the result block above gets updated. #+call: sampleblock() :colnames yes Note: I can cheat to achieve this, but is this the best way? #+call: sampleblock(execute="!") :colnames yes #+results: sampleblock(execute="!") | par | val | |-----+-----| | 1 | 1 |