From: Eric Schulte <schulte.eric@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [babel] feature request: extracting non-sequential columns and/or rows from a table
Date: Thu, 07 Jul 2011 19:26:06 -0600 [thread overview]
Message-ID: <87aacp1rg4.fsf@gmail.com> (raw)
In-Reply-To: 87tyayqtek.fsf@ucl.ac.uk
Hi Eric,
Unfortunately I recently became very busy, so I will not be able to
address this any time soon. However, the indexing behavior is self
contained in the `org-babel-ref-index-list' function, so feel free to
take a crack at that function. If you are able to implement your syntax
as described below I would be happy to help fold in the change.
Cheers -- Eric
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> 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 Schulte
http://cs.unm.edu/~eschulte/
next prev parent reply other threads:[~2011-07-08 1:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aacp1rg4.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.