emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Different behavior of exported results in org-babel
@ 2014-01-17 16:36 Ahmadou Dicko
  2014-01-17 19:04 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Ahmadou Dicko @ 2014-01-17 16:36 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1385 bytes --]

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 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.

Thanks for your help.


-- 
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 #1.2: Type: text/html, Size: 1906 bytes --]

[-- Attachment #2: example.html --]
[-- Type: text/html, Size: 6088 bytes --]

[-- Attachment #3: example.org --]
[-- Type: application/octet-stream, Size: 397 bytes --]

#+TITLE: Test export
#+AUTHOR: Ahmadou H. DICKO
#+PROPERTY: session *R*
#+PROPERTY: cache yes 
#+PROPERTY: exports both
#+PROPERTY: tangle yes
#+OPTIONS: toc:nil


* Minimal example
 
** with exports both
#+begin_src R :exports both :results output
mtcars[1:2, 1:2]
#+end_src
  

** with exports results only
#+begin_src R :exports results :results output 
mtcars[1:2, 1:2]
#+end_src
   

   
   

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-18 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).