From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Problem with including file Date: Thu, 02 May 2019 10:37:25 +0200 Message-ID: <87v9ytb6be.fsf@nicolasgoaziou.fr> References: <02c901d500a4$61ee4760$25cad620$@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hM7Dq-0005hf-HZ for emacs-orgmode@gnu.org; Thu, 02 May 2019 04:37:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hM7Dp-0004pi-FF for emacs-orgmode@gnu.org; Thu, 02 May 2019 04:37:42 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42537) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hM7Dn-0004gM-Eq for emacs-orgmode@gnu.org; Thu, 02 May 2019 04:37:41 -0400 In-Reply-To: <02c901d500a4$61ee4760$25cad620$@gmail.com> (Andreas Kiermeier's message of "Thu, 2 May 2019 14:33:25 +0930") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Andreas Kiermeier Cc: emacs-orgmode@gnu.org Hello, "Andreas Kiermeier" 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