* rownames in matlab or octave.
@ 2011-03-01 15:16 Piter_
2011-03-02 7:27 ` Eric S Fraga
0 siblings, 1 reply; 3+ messages in thread
From: Piter_ @ 2011-03-01 15:16 UTC (permalink / raw)
To: emacs-orgmode
Hi all.
Is is possible to output result from matlab source code with row
(column) names, or it works only in R.
Thanks.
Petro.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rownames in matlab or octave.
2011-03-01 15:16 rownames in matlab or octave Piter_
@ 2011-03-02 7:27 ` Eric S Fraga
2011-03-02 9:14 ` Piter_
0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2011-03-02 7:27 UTC (permalink / raw)
To: Piter_; +Cc: emacs-orgmode
Piter_ <x.piter@gmail.com> writes:
> Hi all.
> Is is possible to output result from matlab source code with row
> (column) names, or it works only in R.
> Thanks.
> Petro.
I would think not, at least in the automatic sense that R does it
because Matlab doesn't have the concept of tables. Arrays do not have
headings for either rows or columns.
You could generate output that includes labels manually, using =printf=,
say, which would then be interpreted the way you wish but this is not
necessarily elegant or easy to generalise.
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.576.g99675)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rownames in matlab or octave.
2011-03-02 7:27 ` Eric S Fraga
@ 2011-03-02 9:14 ` Piter_
0 siblings, 0 replies; 3+ messages in thread
From: Piter_ @ 2011-03-02 9:14 UTC (permalink / raw)
To: Eric S Fraga; +Cc: emacs-orgmode
May be it is possible to add this possibility in org-babel. So one can
predefine row and column names in the source header, and than use it
for tabulated result? I definitely don't know elisp enough to
implement it, but maybe some one will be interested in such feature to
make it.
Thanks.
Petro
On Wed, Mar 2, 2011 at 8:27 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> Piter_ <x.piter@gmail.com> writes:
>
>> Hi all.
>> Is is possible to output result from matlab source code with row
>> (column) names, or it works only in R.
>> Thanks.
>> Petro.
>
> I would think not, at least in the automatic sense that R does it
> because Matlab doesn't have the concept of tables. Arrays do not have
> headings for either rows or columns.
>
> You could generate output that includes labels manually, using =printf=,
> say, which would then be interpreted the way you wish but this is not
> necessarily elegant or easy to generalise.
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
> : using Org-mode version 7.4 (release_7.4.576.g99675)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-02 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 15:16 rownames in matlab or octave Piter_
2011-03-02 7:27 ` Eric S Fraga
2011-03-02 9:14 ` Piter_
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).