From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [babel] multiple result outputs from function Date: Tue, 16 Mar 2010 15:26:05 -0400 Message-ID: <87eijknk4y.fsf@stats.ox.ac.uk> References: <2c75873c1003161126r36c5e2c0kfa3f3540bf9ec7cf@mail.gmail.com> <4B9FD076.3050709@ccbr.umn.edu> <2c75873c1003161153j307e1441g17b02369df0c7a95@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrcP9-0006N1-Ck for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:26:15 -0400 Received: from [140.186.70.92] (port=37813 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrcP7-0006L5-Os for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:26:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrcP6-0003tX-9M for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:26:13 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:59312) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrcP6-0003tO-2R for emacs-orgmode@gnu.org; Tue, 16 Mar 2010 15:26:12 -0400 In-Reply-To: <2c75873c1003161153j307e1441g17b02369df0c7a95@mail.gmail.com> (Graham Smith's message of "Tue, 16 Mar 2010 18:53:13 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Graham Smith Cc: emacs-orgmode@gnu.org Graham Smith writes: > Erik > >> So, add ":results output" to your source header block. > > Dan beat you to it, but.. > >> list(xbar, lower.ci, upper.ci) > > This is useful, but the output isn't exactly as I expected > > #+results: SumFlowering2005 > : [[1]] > : [1] 1.513333 > : > : [[2]] > : [1] 1.048065 > : > : [[3]] > : [1] 1.978602 > > is there a way of replacing the [1] [2] and [3] with the object names I think you meant replacing the [[1]], [[2]], [[3]]. That would be list(myname1=xbar, myname2=lower.ci, myname3=upper.ci) > (I know this is really an R question) yep :) Dan > > Thanks, > > Graham > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode