From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Problems with Org-Mode export Date: Wed, 21 Sep 2011 10:37:38 -0400 Message-ID: <24590.1316615858@alphaville.dokosmarshall.org> References: <1316195401.36711.YahooMailNeo@web161909.mail.bf1.yahoo.com> <1316547083.4870.YahooMailNeo@web161916.mail.bf1.yahoo.com> <2859.1316550566@alphaville.dokosmarshall.org> <1316567355.18424.YahooMailNeo@web161920.mail.bf1.yahoo.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Nvl-0004le-3Y for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 10:37:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6Nvj-0001ZW-Rm for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 10:37:45 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:2555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Nvj-0001Td-K1 for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 10:37:43 -0400 In-Reply-To: Message from Michael Hannon of "Tue, 20 Sep 2011 18:09:15 PDT." <1316567355.18424.YahooMailNeo@web161920.mail.bf1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: nicholas.dokos@hp.com, Org-Mode List Michael Hannon wrote: > Nick Dokos wrote: > > > Org-mode version 7.7 (release_7.7.224.g6e14) GNU Emacs 24.0.50.2 > > (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-09-13 > > > I'll pull the newest bits and try again. > I pulled from latest and reran both the original test file and the test file below. I get no errors either with my standard config or with a minimal .emacs in either case. Version info for reference: Org-mode version 7.7 (release_7.7.311.g0c099) GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-09-13 This is on Ubuntu 10.10. Nick > 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 > files. > > 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) > summary(x) > #+end_src > > ** 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 > =a.png=. > > #+begin_src R :file a.png > y <- rnorm(10) > plot(x, y) > #+end_src > > Same plot with larger dimension: > > #+begin_src R :file b.png :width 800 :height 800 > plot(x, y) > #+end_src > > ---------- 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) > >