#+BEGIN_SRC emacs-lisp :var data=example-table[,0] (mapcar 'list data) #+END_SRC
#+RESULTS: | 1 | | 2 | | 3 | | 4 | Uwe Brauer writes: > > Uwe Brauer <o...@mat.ucm.es> writes: > > > See (info "(org) var") in particular the section on "Indexable variable > > values". > > > > Additionally, an empty index, or the single character ‘*’, > > are both > > interpreted to mean the entire range and as such are equivalent to > > ‘0:-1’, as shown in the following example in which the entire first > > column is referenced. > > > #+NAME: example-table > > | 1 | a | > > > | 2 | b | > > | 3 | c | > > | 4 | d | > > > #+BEGIN_SRC emacs-lisp :var data=example-table[,0] > > data > > #+END_SRC > > > #+RESULTS: > > | 1 | 2 | 3 | 4 | > > Thanks that looks like a very simple solution, however how can one > obtain the first column of the table in column format? (I know I could > transverse it, but just out of curiosity. -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu