emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ahmadou Dicko <dicko.ahmadou@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Different behavior of exported results in org-babel
Date: Fri, 17 Jan 2014 19:19:28 +0000	[thread overview]
Message-ID: <CAP8THHViJXrsYi574AHGzM3-y-F8hTsAz6z3e0sDVMtUaxq_AQ@mail.gmail.com> (raw)
In-Reply-To: <87y52e1lc1.fsf@alphaville.bos.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]

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 <ndokos@gmail.com> wrote:

> Ahmadou Dicko <dicko.ahmadou@gmail.com> 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 : ahmadou.dicko@ucad.edu.sn
twitter : @dickoah
github : github/dickoa <https://github.com/dickoa>
tel : +221 33 827 55 16
portable: +221 77 123 81 69

[-- Attachment #2: Type: text/html, Size: 2967 bytes --]

  reply	other threads:[~2014-01-17 19:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 16:36 Different behavior of exported results in org-babel Ahmadou Dicko
2014-01-17 19:04 ` Nick Dokos
2014-01-17 19:19   ` Ahmadou Dicko [this message]
2014-01-17 19:59     ` Nick Dokos
2014-01-18  0:32     ` Nick Dokos
2014-01-18 14:43       ` Nicolas Goaziou
2014-01-18 21:07         ` Ahmadou Dicko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP8THHViJXrsYi574AHGzM3-y-F8hTsAz6z3e0sDVMtUaxq_AQ@mail.gmail.com \
    --to=dicko.ahmadou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).