emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Hannon <jm_hannon@yahoo.com>
To: "nicholas.dokos@hp.com" <nicholas.dokos@hp.com>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Problems with Org-Mode export
Date: Tue, 20 Sep 2011 18:09:15 -0700 (PDT)	[thread overview]
Message-ID: <1316567355.18424.YahooMailNeo@web161920.mail.bf1.yahoo.com> (raw)
In-Reply-To: <2859.1316550566@alphaville.dokosmarshall.org>

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

Nick Dokos <nicholas.dokos@hp.com> wrote:

> [...]

> FWIW, I don't get any error messages. I have no idea what the exported file
> should look like: I attach both the exported pdf and the exported html below
> (as well as the org file, which is just cut-n-pasted from what you posted).
> Versions:

> Org-mode version 7.7 (release_7.7.224.g6e14) GNU Emacs
> (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-09-13

> I'll pull the newest bits and try again.

Thanks, Nick.  This is getting curiouser and curiouser.  I can now reliably
get documents exported using the vanilla 7.7 Org-Mode, but not with the
development version I currently have installed:

    Org-mode version 7.7 (release_7.7.304.g9da4)

I suspect that the following bit of the error message is the relevant one:

    org-babel-R-evaluate: Wrong number of arguments: #[(session body result-type
    result-params column-names-p row-names-p

but I don't know what to make of it.

In order to simplify the discussion, I've been working with some Org code that
I took from the "worg" web site.  Please see below for details.

I've also appended the pieces of my .emacs file that relate to finding Org

At this point I guess I'm ready to declare victory and slink away, but it
WOULD be interesting to know what's going on.

-- Mike


#+TITLE: Test 
#+AUTHOR: Michael Hannon
#+EMAIL: jm_hannon@yahoo.com
#+BABEL: :session *R* :cache yes :results output graphics :exports both :tangle yes 

#### Example taken from:
####    http://orgmode.org/worg/org-contrib/babel/how-to-use-Org-Babel-for-R.html

* Example of Org-Babel for R Literate Programming
** R text output
A simple summary. 
#+begin_src R 
  x <- rnorm(10)

** R graphics output
Note we use the object =x= generated in previous code block, thanks to
the header option =:session *R*=.  The output graphics file is

#+begin_src R  :file a.png
  y <- rnorm(10)
  plot(x, y)

Same plot with larger dimension:

#+begin_src R  :file b.png :width 800 :height 800
  plot(x, y)

---------- Org-Mode path variables, standard and devel versions

(setq load-path (cons "/usr/local/emacs.d/ssh" load-path))
(require 'ssh)

;;;;;;(setq load-path (cons "/usr/local/emacs.d/org-mode/org-7.7/lisp" load-path))

;;;;;;(setq load-path (cons "/usr/local/emacs.d/org-mode/org-7.7/contrib/lisp" load-path))

(setq load-path (cons "/usr/local/emacs.d/org-mode/org-devel/org-mode/lisp" load-path))

(setq load-path (cons "/usr/local/emacs.d/org-mode/org-devel/org-mode/contrib/lisp" load-path))

(require 'org-install)

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

  reply	other threads:[~2011-09-21  1:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 17:50 Problems with Org-Mode export Michael Hannon
2011-09-16 20:04 ` Michael Hannon
2011-09-17  4:59 ` David Maus
2011-09-19 21:17   ` Michael Hannon
2011-09-19 23:20     ` [PATCH] Check argument is a string before calling string-match Bernt Hansen
2011-10-04 12:36       ` [Accepted] " Carsten Dominik
2011-09-20 19:31 ` Problems with Org-Mode export Michael Hannon
2011-09-20 20:29   ` Nick Dokos
2011-09-21  1:09     ` Michael Hannon [this message]
2011-09-21 14:37       ` Nick Dokos
2011-09-21 19:10         ` Michael Hannon

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=1316567355.18424.YahooMailNeo@web161920.mail.bf1.yahoo.com \
    --to=jm_hannon@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \


* 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


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