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: Eric Schulte
Subject: Re: [Orgmode] [org-babel] R, :session and empty line in #+results
Date: Wed, 01 Dec 2010 08:01:42 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Bernd,

I've just pushed up a change which should remove these empty lines.

Best -- Eric

Bernd Weiss <address@hidden> writes:

> Am 01.12.2010 02:19, schrieb Thomas S. Dye:
>> 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
>
>
> Hi Tom,
>
> Thanks for your reply!
>
> I should have noted that I am preparing a beamer presentation and I
> need all the code and the results. So, your answer does not solve my
> problem.
>
> Maybe this is another information I should have given: To control
> org-babel's behaviour, I am defining the following buffer-wide header
> arguments:
>
> #+BABEL: :results output replace :exports both :comments both :session
>
>
> Bernd
>
> _______________________________________________
> 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]