emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Kennedy <ian.kennedy@hc-sc.gc.ca>
To: emacs-orgmode@gnu.org
Subject: inconsistent export of R results in orgmode 7.3,
Date: Mon, 22 Nov 2010 13:37:05 -0500	[thread overview]
Message-ID: <OFDDA1799D.B6D3C185-ON852577E3.00587781-052577E3.00664381@hc-sc.gc.ca> (raw)

Since upgrading to org-mode 7.3 I have had inconsistent export of R code
block results. Sometimes the results appear in the exported document,
sometimes they don't. I've included the simplest example I've been able to
come up with below. When I export this file the data frame is exported
about half the time. The example below is about the shortest I've come up
with that shows inconsistent export. I usually have the problem with more
complex documents, which use R only, and  which have R read in data from
external files.

I do not have the problem if I use org-mode 7.01h. I am running emacs 23.2
on Windows XP with R 2.12.0. My apologies if this has already been
discussed (if it has, maybe somebody can point me to the discussion I

Here's the example:
* Ditaa Example
  #+BEGIN_SRC ditaa :file dit.png :width 300 :height 300  :exports results
    |                               |
    |            Block 1            |
    |                               |
    |                               |
    |            Block 2            |
    |                               |

* R example
** Something  in R

   #+BEGIN_SRC R :session *R* :exports none
     x <- 1:5
     y <- data.frame(A=x, B=round(sin(x/3.3),3))

** A table which is often not exported
   #+BEGIN_SRC R :session *R* :exports results :colnames yes


             reply	other threads:[~2010-11-22 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 18:37 Ian Kennedy [this message]
2010-11-22 18:43 ` Erik Iverson

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:

  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=OFDDA1799D.B6D3C185-ON852577E3.00587781-052577E3.00664381@hc-sc.gc.ca \
    --to=ian.kennedy@hc-sc.gc.ca \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: inconsistent export of R results in orgmode 7.3,' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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