From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Andreas Kiermeier <andreas.kiermeier@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with including file
Date: Thu, 02 May 2019 10:37:25 +0200 [thread overview]
Message-ID: <87v9ytb6be.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <02c901d500a4$61ee4760$25cad620$@gmail.com> (Andreas Kiermeier's message of "Thu, 2 May 2019 14:33:25 +0930")
Hello,
"Andreas Kiermeier" <andreas.kiermeier@gmail.com> 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
next prev parent reply other threads:[~2019-05-02 8:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-02 5:03 Problem with including file Andreas Kiermeier
2019-05-02 8:26 ` Sharon Kimble
2019-05-02 8:40 ` Andreas Kiermeier
2019-05-02 8:37 ` Nicolas Goaziou [this message]
2019-05-02 8:45 ` Andreas Kiermeier
2019-05-02 11:23 ` Jamie Forth
2019-05-03 1:44 ` Andreas Kiermeier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9ytb6be.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=andreas.kiermeier@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).