From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Hannon Subject: Re: Problems with Org-Mode export Date: Wed, 21 Sep 2011 12:10:08 -0700 (PDT) Message-ID: <1316632208.7607.YahooMailNeo@web161912.mail.bf1.yahoo.com> 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> <24590.1316615858@alphaville.dokosmarshall.org> Reply-To: Michael Hannon Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="1923625488-2135537247-1316632208=:7607" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6SBQ-00070W-TB for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 15:10:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6SBN-0001Y9-HU for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 15:10:12 -0400 Received: from nm18-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.138]:36377) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1R6SBN-0001Xu-DU for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 15:10:09 -0400 In-Reply-To: <24590.1316615858@alphaville.dokosmarshall.org> 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: "nicholas.dokos@hp.com" Cc: Org-Mode List --1923625488-2135537247-1316632208=:7607 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Nick. =A0I just grabbed:=0A=0A=A0 =A0=A0Org-mode version 7.7 (relea= se_7.7.314.g12f0)=0A=0Aand don't seem to have the problem any more.=0A=0A--= Mike=0A=0A=0A=0A>________________________________=0A>From: Nick Dokos =0A>To: Michael Hannon =0A>Cc: nich= olas.dokos@hp.com; Org-Mode List =0A>Sent: Wednesday= , September 21, 2011 7:37 AM=0A>Subject: Re: [O] Problems with Org-Mode exp= ort=0A>=0A>Michael Hannon wrote:=0A>=0A>> Nick Dokos = wrote:=0A>> =0A>> > Org-mode version 7.7 (release_7= .7.224.g6e14) GNU Emacs 24.0.50.2=0A>> > (x86_64-unknown-linux-gnu, GTK+ Ve= rsion 2.22.0) of 2011-09-13=0A>> =0A>> > I'll pull the newest bits and try = again.=0A>> =0A>=0A>I pulled from latest and reran both the original test f= ile and the test=0A>file below. I get no errors either with my standard con= fig or with a=0A>minimal .emacs in either case.=0A>=0A>Version info for ref= erence:=0A>=0A>Org-mode version 7.7 (release_7.7.311.g0c099)=0A>=0A>GNU Ema= cs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2011-09-13= =0A>=0A>This is on Ubuntu 10.10.=0A>=0A>Nick=0A>=0A>> Thanks, Nick.=A0 This= is getting curiouser and curiouser.=A0 I can now reliably=0A>> get documen= ts exported using the vanilla 7.7 Org-Mode, but not with the=0A>> developme= nt version I currently have installed:=0A>> =0A>>=A0 =A0 Org-mode version = 7.7 (release_7.7.304.g9da4)=0A>> =0A>> I suspect that the following bit of = the error message is the relevant one:=0A>> =0A>>=A0 =A0 org-babel-R-evalu= ate: Wrong number of arguments: #[(session body result-type=0A>>=A0 =A0 re= sult-params column-names-p row-names-p=0A>> =0A>> but I don't know what to = make of it.=0A>> =0A>> In order to simplify the discussion, I've been worki= ng with some Org code that=0A>> I took from the "worg" web site.=A0 Please = see below for details.=0A>> =0A>> I've also appended the pieces of my .emac= s file that relate to finding Org=0A>> files.=0A>> =0A>> At this point I gu= ess I'm ready to declare victory and slink away, but it=0A>> WOULD be inter= esting to know what's going on.=0A>> =0A>> -- Mike=0A>> =0A>> ----------=0A= >> =0A>> #+TITLE: Test =0A>> #+AUTHOR: Michael Hannon=0A>> #+EMAIL: jm_hann= on@yahoo.com=0A>> #+BABEL: :session *R* :cache yes :results output graphics= :exports both :tangle yes =0A>> =0A>> #### Example taken from:=0A>> ####= =A0 =A0 http://orgmode.org/worg/org-contrib/babel/how-to-use-Org-Babel-for-= R.html=0A>> =0A>> * Example of Org-Babel for R Literate Programming=0A>> **= R text output=0A>> A simple summary. =0A>> #+begin_src R =0A>>=A0 x <- rn= orm(10)=0A>>=A0 summary(x)=0A>> #+end_src=0A>> =0A>> ** R graphics output= =0A>> Note we use the object =3Dx=3D generated in previous code block, than= ks to=0A>> the header option =3D:session *R*=3D.=A0 The output graphics fil= e is=0A>> =3Da.png=3D. =0A>> =0A>> #+begin_src R=A0 :file a.png=0A>>=A0 y = <- rnorm(10)=0A>>=A0 plot(x, y)=0A>> #+end_src=0A>> =0A>> Same plot with l= arger dimension:=0A>> =0A>> #+begin_src R=A0 :file b.png :width 800 :height= 800=0A>>=A0 plot(x, y)=0A>> #+end_src=0A>> =0A>> ---------- Org-Mode path= variables, standard and devel versions=0A>> =0A>> (setq load-path (cons "/= usr/local/emacs.d/ssh" load-path))=0A>> (require 'ssh)=0A>> =0A>> ;;;;;;(se= tq load-path (cons "/usr/local/emacs.d/org-mode/org-7.7/lisp" load-path))= =0A>> =0A>> ;;;;;;(setq load-path (cons "/usr/local/emacs.d/org-mode/org-7.= 7/contrib/lisp" load-path))=0A>> =0A>> (setq load-path (cons "/usr/local/em= acs.d/org-mode/org-devel/org-mode/lisp" load-path))=0A>> =0A>> (setq load-p= ath (cons "/usr/local/emacs.d/org-mode/org-devel/org-mode/contrib/lisp" loa= d-path))=0A>> =0A>> (require 'org-install)=0A>> =0A>> =0A>=0A>=0A>=0A> --1923625488-2135537247-1316632208=:7607 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks, Nick.  I j= ust grabbed:

  &nbs= p; Org-mode version 7.7 (release_7.7.314.g12f0)

and don't seem to have the problem any more.

-- Mike
=

From: Nic= k Dokos <nicholas.dokos@hp.com>
To: Michael Hannon <jm_hannon@yahoo.com>
Cc: nicholas.dokos@hp.com; Org-Mod= e List <emacs-orgmode@gnu.org>
Sent: Wednesday, September 21, 2011 7:37 AM
Subject: Re: [O] Problems with Org-Mode = export

Michael Hannon <jm_hannon@yahoo.com> wrot= e:

> Nick Dokos <nicholas.dokos@hp.com> 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 a= nd the test
file below. I get no errors either with my standard config o= r 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 ge= tting curiouser and curiouser.  I can now reliably
> get documen= ts exported using the vanilla 7.7 Org-Mode, but not with the
> develo= pment version I currently have installed:
>
>    Or= g-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-na= mes-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 be= low for details.
>
> I've also appended the pieces of my .emac= s file that relate to finding Org
> files.
>
> At this p= oint I guess I'm ready to declare victory and slink away, but it
> WO= ULD be interesting to know what's going on.
>
> -- Mike
>= ;
> ----------
>
> #+TITLE: Test
> #+AUTHOR: Mic= hael Hannon
> #+EMAIL: jm_hannon@yahoo.com
> #+BABEL: :s= ession *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)
>  summa= ry(x)
> #+end_src
>
> ** R graphics output
> Note = we use the object =3Dx=3D generated in previous code block, thanks to
&g= t; the header option =3D:session *R*=3D.  The output graphics file is<= br>> =3Da.png=3D.
>
> #+begin_src R  :file a.png
&= gt;  y <- rnorm(10)
>  plot(x, y)
> #+end_src>
> Same plot with larger dimension:
>
> #+begin_sr= c R  :file b.png :width 800 :height 800
>  plot(x, y)
&= gt; #+end_src
>
> ---------- Org-Mode path variables, standard= and devel versions
>
> (setq load-path (cons "/usr/local/emac= s.d/ssh" load-path))
> (require 'ssh)
>
> ;;;;;;(setq lo= ad-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/loca= l/emacs.d/org-mode/org-devel/org-mode/lisp" load-path))
>
> (s= etq load-path (cons "/usr/local/emacs.d/org-mode/org-devel/org-mode/contrib= /lisp" load-path))
>
> (require 'org-install)
>
>=



--1923625488-2135537247-1316632208=:7607--