emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] feature request: extracting non-sequential columns and/or rows from a table
@ 2011-07-07 10:25 Eric S Fraga
  2011-07-08  1:26 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2011-07-07 10:25 UTC (permalink / raw)
  To: emacs-orgmode

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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-08  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 10:25 [babel] feature request: extracting non-sequential columns and/or rows from a table Eric S Fraga
2011-07-08  1:26 ` Eric Schulte
2011-07-08  8:59   ` Eric S Fraga

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).