From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Weiss Subject: [org-babel] R, :session and empty line in #+results Date: Tue, 30 Nov 2010 18:23:26 -0500 Message-ID: <4CF5876E.4040109@uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47423 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNdPE-00041T-C4 for emacs-orgmode@gnu.org; Tue, 30 Nov 2010 22:31:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNZXq-00023D-7C for emacs-orgmode@gnu.org; Tue, 30 Nov 2010 18:23:35 -0500 Received: from smtp-out.rrz.uni-koeln.de ([134.95.19.53]:37551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNZXp-0001rX-T4 for emacs-orgmode@gnu.org; Tue, 30 Nov 2010 18:23:34 -0500 Received: from smtp-auth.rrz.uni-koeln.de (smtp-auth.rrz.uni-koeln.de [134.95.19.93]) by smtp-out.rrz.uni-koeln.de (8.13.8/8.13.8) with ESMTP id oAUNNSX5027314 for ; Wed, 1 Dec 2010 00:23:28 +0100 Received: from [10.0.0.2] ([199.44.252.34]) (authenticated as user ahf34 using CRAM-MD5 bits=0) by smtp-auth.uni-koeln.de (8.13.8/8.13.8) with ESMTP id oAUNNQTH031031 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 1 Dec 2010 00:23:28 +0100 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: emacs-orgmode@gnu.org Dear all, I would like to use R objects across/among code blocks. Therefore, I included the header argument ":session" which then produces the following results: #+BEGIN_SRC R :results output :session x <- 1 x x + 1 #+END_SRC #+results: : : [1] 1 : [1] 2 #+BEGIN_SRC R :results output :session x #+END_SRC #+results: : [1] 1 How can I get rid of the first line of the first #+results-block? BTW: if I remove the ":session" argument this empty line disappears. Thanks for your help, Bernd P.S. As far as I can see my question is not related to Dr. Bate's question on "Removing the blank lines between code and results blocks in LaTeX export"