[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [babel] multiple result outputs from function
From: |
Dan Davison |
Subject: |
Re: [Orgmode] [babel] multiple result outputs from function |
Date: |
Tue, 16 Mar 2010 15:26:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Graham Smith <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode