[Top][All Lists]

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

Re: [O] Can I quote/ref value in the output table?

From: John Kitchin
Subject: Re: [O] Can I quote/ref value in the output table?
Date: Tue, 12 Jul 2016 11:17:53 -0400

Do you mean something like this (I used an elisp block instead of a sql block, but hopefully you get the idea):

#+name: src-block1
#+BEGIN_SRC emacs-lisp
'((1 2) (3 4))

#+RESULTS: src-block1
| 1 | 2 |
| 3 | 4 |

#+BEGIN_SRC python :var data="">print data

: [[1, 2], [3, 4]]

If so, give your sql block a name, and use it as a variable in some other block.


Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

On Tue, Jul 12, 2016 at 3:59 AM, Xi Shen <address@hidden> wrote:

Say I have a sql babel block which outputs a table. Is there any way
that I can reference the values in the output table in another babel

reply via email to

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