emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [babel] feature request: extracting non-sequential columns and/or ro


From: Eric S Fraga
Subject: [O] [babel] feature request: extracting non-sequential columns and/or rows from a table
Date: Thu, 07 Jul 2011 11:25:39 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Hello,

this is a very low priority request so please feel free to ignore or put
at the bottom of what I'm sure is a long list of TODOs...

I have a data table.  In different code blocks, I need to access
different sets of columns (or rows) from this table.  At present, I am
passing the whole table to the code blocks and then extracting the
columns (or rows) within the code.  However, it would be nice if I could
specify the actual column I want directly in the :var header argument,
such as

:  #+begin_src octave :var data=mytable[0:-1;1:3,5:6]

where I've used a semi-colon to separate dimension indices and used a
comma to separate multiple ranges within an index.  This, I realise, is
a change to the current syntax... but I'm doing this just for
illustration.

As I said, I have a workaround so this is indeed a low priority request!

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.586.g382e6)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]