From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: odd org-babel R behaviour Date: Fri, 30 Jul 2010 16:33:53 -0600 Message-ID: <87r5ik1twu.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48186 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oey9Q-0001oI-Ki for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 18:34:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oey9P-0000t3-7B for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 18:34:00 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:42791) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oey9P-0000su-0J for emacs-orgmode@gnu.org; Fri, 30 Jul 2010 18:33:59 -0400 Received: by pxi7 with SMTP id 7so1367626pxi.0 for ; Fri, 30 Jul 2010 15:33:58 -0700 (PDT) In-Reply-To: (Neil Hepburn's message of "Fri, 30 Jul 2010 16:20:20 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Neil Hepburn Cc: emacs-orgmode Hi Neil, It sounds like you have blocks of R code which are configured such that their results are not exported. You could try setting the :exports header argument [1] to either "results" or "both" on the block, subtree, or buffer, language, or system level [2]. Best -- Eric Neil Hepburn writes: > After recently upgrading to the most recent org-mode, org-babel R and org-export have shown some rather peculiar behavior. After processing some R code, the results are printed out below the code block with > > #+results: > #+begin_example > blah blah blah (at least that's what I suspect reviewers at the last journal I submitted to called the output) > #+end_example > > Now, when I go to export my org file to pdf, the R-output does not appear. However, if I go through and either delete the #+results: line or put a blank line between it and #+begin_example, the export works fine and the output from R appears. The same is true if I export to HTML. > > Now that I know the fix, the problem is easy enough to deal with as I go through a batch of experiments. > > -Neil > > > > ============================================= > Neil Hepburn, Economics Instructor > Department of Social Sciences, Augustana Faculty > University of Alberta > 4901-46 Avenue > Camrose, Alberta T4V 2R3 > > Phone (780) 679-1588 > email nhepburn@ualberta.ca > > No trees were harmed in creating this message. (However, millions of electrons were terribly disturbed.) > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode Footnotes: [1] http://orgmode.org/manual/exports.html#exports [2] http://orgmode.org/manual/Using-header-arguments.html#Using-header-arguments