[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with including file
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Problem with including file |
Date: |
Thu, 02 May 2019 10:37:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
"Andreas Kiermeier" <address@hidden> writes:
> --- begin test.org ----
>
> #+STARTUP: content indent hidestars fninline
>
> #+PROPERTY: header-args:R :session *R* :cache no
>
> #+PROPERTY: header-args+ :results output
>
> #+PROPERTY: header-args+ :exports results
Here, you prevent source blocks' contents from being exported.
[...]
> #+begin_src R :results none :exports code
>
> ls()
>
> #+end_src
This one is exported because ":exports code"
>
>
>
>
> * Data Analysis Source Code
>
>
>
> #+INCLUDE: "test.R" src R
This one, which is equivalent to
#+begin_src R
ls()
#+end_src
defaults to :exports results and, therefore, is not exported.
Regards,
--
Nicolas Goaziou