emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] extract a region from a table and export it


From: Uwe Brauer
Subject: Re: [O] extract a region from a table and export it
Date: Fri, 17 Jun 2016 13:07:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Thanks but none works for me
in the following I will show my results

#+tblname: tab2

| 1 | a | 3 |
| 2 | b | 4 |
| 3 | c | 6 |
| 4 | d | 7 |


#+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2]
c0
#+END_SRC

#+RESULTS:
: nil



I obtain

#+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2]
c2
#+END_SRC

#+RESULTS:
: nil


 > Here is a non-dash solution that works for two lists.

#+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2]
(loop for a in c0 for b in c2 collect (list a b))
#+END_SRC

#+RESULTS:





reply via email to

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