Hi Andreas,

"Andreas Kiermeier" <andreas.kierme...@gmail.com> writes:

> The reason I did tried to do it this way was because it's simpler than
> having to say :export results for every source block.
> But, it a second call to 
>
> #+PROPERTY: header-args+ :exports code
> Just before the #+INCLUDE gets everything working perfectly.

A second #+PROPERTY keyword will just append an additional file property
(the second one shadowing the first). Setting the header-args in
property drawers would do what you want.

#+PROPERTY: header-args:R :session *R* :cache no
#+PROPERTY: header-args+ :results output
#+PROPERTY: header-args+ :eval never-export
#+PROPERTY: header-args+ :tangle yes

* Intro
:PROPERTIES:
:header-args: :exports results
:END:

* Data Analysis Source Code
:PROPERTIES:
:header-args: :exports code
:END:

https://orgmode.org/manual/Using-Header-Arguments.html#Header-arguments-in-Org-mode-properties

--
Jamie


Reply via email to