emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: [babel] feature request: extracting non-sequential columns and/or rows from a table
Date: Thu, 07 Jul 2011 11:25:39 +0100	[thread overview]
Message-ID: <87tyayqtek.fsf@ucl.ac.uk> (raw)


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

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


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

             reply	other threads:[~2011-07-07 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 10:25 Eric S Fraga [this message]
2011-07-08  1:26 ` [babel] feature request: extracting non-sequential columns and/or rows from a table Eric Schulte
2011-07-08  8:59   ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyayqtek.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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