[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Output result of source block to a file
From: |
Ken Mankoff |
Subject: |
Re: [O] Output result of source block to a file |
Date: |
Wed, 05 Jun 2019 15:33:15 +0200 |
User-agent: |
mu4e 0.9.18; emacs 26.2 |
On 2019-06-05 at 12:41 +02, Roger Mason <address@hidden> wrote...
> I want to output the result of the evaluation of a (python) source
> block to a (graphics) file and have a link to the file inserted in the
> buffer.
>
> Here is the code:
>
> #+begin_src python :results value file :file scaleplot02.pdf :exports results
> :var data=test
> print ("[[./%s]]" % file)
> #+end_src
What about :var file="scaleplot02.pdf".
-k.
- [O] Output result of source block to a file, Roger Mason, 2019/06/05
- Re: [O] Output result of source block to a file, stardiviner, 2019/06/05
- Re: [O] Output result of source block to a file, Roger Mason, 2019/06/06
- Re: [O] Output result of source block to a file, Roger Mason, 2019/06/06
- Re: [O] Output result of source block to a file, John Kitchin, 2019/06/06
- Re: [O] Output result of source block to a file, Roger Mason, 2019/06/07
- Re: [O] Output result of source block to a file, John Kitchin, 2019/06/07
- Re: [O] Output result of source block to a file, Roger Mason, 2019/06/08
- Re: [O] Output result of source block to a file, John Kitchin, 2019/06/08
Re: [O] Output result of source block to a file,
Ken Mankoff <=