emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Different behavior of exported results in org-babel


From: Ahmadou Dicko
Subject: Re: [O] Different behavior of exported results in org-babel
Date: Fri, 17 Jan 2014 19:19:28 +0000

Thanks for testing.
As a workaround I will use your trick (in buffer evaluation before exporting) but I was thinking of writing a filter.


On Fri, Jan 17, 2014 at 7:04 PM, Nick Dokos <address@hidden> wrote:
Ahmadou Dicko <address@hidden> writes:

> Hi everyone,
>
> I use the latest version of org-mode (from github) and I update it daily.
> I noticed some changes recently in org-babel (ob-R).
>
> Here's a sample code to explain the problem :
>
> #+TITLE: Test export
> #+AUTHOR: Ahmadou H. DICKO
> #+PROPERTY: session *R*
> #+PROPERTY: cache yes 
> #+PROPERTY: exports both
> #+PROPERTY: tangle yes
> #+OPTIONS: toc:nil
>
> * Minimal example
>  This works quite well
> #+begin_src R :exports both :results output
> mtcars[1:2, 1:2]
> #+end_src
>
> I just want the output without code but I have this
> 'bf7c7b2c131fcf88c89639d10326a972f0ff25' before the code

> #+begin_src R :exports results :results output 
> mtcars[1:2, 1:2]
> #+end_src
>

I used your reproducer (thanks for providing it!) and was able to
duplicate your results (more or less - I get this

   7c7b2c131fcf88c89639d10326a972f0ff25]:

before the second set of results).

If I evaluate both code blocks by hand in the org buffer and
*then* export, I don't get the extra junk.

> I use emacs 24.3.1, org-version 8.2.5f (updated this morning) and R
> 3.0.2 You can find attached the sample code and output, if you have
> something different please let me know.
>

Nick





--
Ahmadou H. DICKO
statistician economist (Ingénieur Statisticien Économiste)
PhD candidate in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
email : address@hidden
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69

reply via email to

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