emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [org-babel] R, :session and empty line in #+results


From: Thomas S. Dye
Subject: Re: [Orgmode] [org-babel] R, :session and empty line in #+results
Date: Tue, 30 Nov 2010 21:19:21 -1000

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" <http://www.mail-archive.com/address@hidden/msg29957.html >

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]