András Major <andras.g.ma...@gmail.com> writes: > Hi Eric, > >> >> This is already possible, see "Indexable variable values" [1]. > > Just tried, without success. Using the example from my original post, > I appended "[,0]" as per the manual to use the first column only, and > when I execute the code block, org throws an error > > "Wrong type argument: listp, "0"". > > Any ideas? >
Can you post an example? Here is a working example.
** simple indexing #+data: list-o-numbers | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | #+begin_src sh :var column=list-o-numbers[,0] echo $column #+end_src #+results: : 1 4 7
Best -- Eric > > András > > > -- Eric Schulte http://cs.unm.edu/~eschulte/