From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: [org-babel] R, :session and empty line in #+results Date: Tue, 30 Nov 2010 21:19:21 -1000 Message-ID: References: <4CF5876E.4040109@uni-koeln.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNgyh-0004rh-RM for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 02:19:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNgyg-0006xp-3D for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 02:19:47 -0500 Received: from cpoproxy3-pub.bluehost.com ([67.222.54.6]:60913) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PNgyf-0006wR-Qp for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 02:19:46 -0500 In-Reply-To: <4CF5876E.4040109@uni-koeln.de> 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: Bernd Weiss Cc: emacs-orgmode@gnu.org Aloha Bernd, On Nov 30, 2010, at 1:23 PM, Bernd Weiss wrote: > 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. > #+BEGIN_SRC R x <- 1 x x + 1 #+END_SRC #+results: : 2 hth, Tom > 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" > > > _______________________________________________ > 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