emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [babel] feature request: extracting non-sequential columns and/o


From: Eric Schulte
Subject: Re: [O] [babel] feature request: extracting non-sequential columns and/or rows from a table
Date: Thu, 07 Jul 2011 19:26:06 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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 <address@hidden> 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/



reply via email to

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