From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dylan Schwilk Subject: org babel R source blocks :results output with :session includes extra blank lines Date: Tue, 28 Aug 2018 09:48:43 -0500 Message-ID: <359545e6-bb72-2613-124d-696142f33fb4@schwilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fufIc-0007HX-R0 for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 10:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fufIX-0001Kp-NW for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 10:48:54 -0400 Received: from aibo.runbox.com ([91.220.196.211]:57596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fufIX-0001JW-G7 for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 10:48:49 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1fufIU-0004JD-Av for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 16:48:46 +0200 Received: by mailfront12.runbox.com with esmtpsa (uid:817654 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1fufIR-0002XV-EN for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 16:48:43 +0200 Content-Language: en-US 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: emacs-orgmode@gnu.org Hello, I recently have run into a change in output from my R language source code blocks. I have found that when I include :session to the source block header, I now get extra blank lines in the #+results. This has broken my lecture slides for my courses with too much extra blank space. for example: #+begin_src R :results output :exports both :session 1 + 2 3 + 4 print("the end") #+end_src #+results: : [1] 3 : : [1] 7 : : [1] "the end" I do not have this issue when I omit the :session header argument, eg: #+begin_src R :results output :exports both 1 + 2 3 + 4 print("the end") #+end_src #+results: : [1] 3 : [1] 7 : [1] "the end" I am using org-mode version 9.1.13, emacs 25.2.2 and R version 3.4.4 (2018-03-15) with no .Rprofile. This does not happen with python source blocks, only with R Sincerely, Dylan