From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hajage Subject: Re: Re: problem with babel and R Date: Tue, 17 Aug 2010 16:41:09 +0200 Message-ID: References: <87tymtnxzi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1082351660==" Return-path: Received: from [140.186.70.92] (port=52459 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OlNM4-0005sn-TA for emacs-orgmode@gnu.org; Tue, 17 Aug 2010 10:41:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OlNM3-0006Oa-7n for emacs-orgmode@gnu.org; Tue, 17 Aug 2010 10:41:32 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:41659) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlNM2-0006OQ-Ni for emacs-orgmode@gnu.org; Tue, 17 Aug 2010 10:41:31 -0400 Received: by fxm3 with SMTP id 3so3901954fxm.0 for ; Tue, 17 Aug 2010 07:41:29 -0700 (PDT) In-Reply-To: <87tymtnxzi.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org --===============1082351660== Content-Type: multipart/alternative; boundary=001485f631e2c66f89048e05f167 --001485f631e2c66f89048e05f167 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you very much for your answer. But when I run the following code directly into R, no extra lines is added by the ascii function: > library(ascii) Le chargement a n=E9cessit=E9 le package : proto > options(asciiType =3D "org") > ascii(head(esoph)) # no extra line | | agegp | alcgp | tobgp | ncases | ncontrols | |---+-------+-----------+----------+--------+-----------| | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | | 2 | 25-34 | 0-39g/day | 10-19 | 0.00 | 10.00 | | 3 | 25-34 | 0-39g/day | 20-29 | 0.00 | 6.00 | | 4 | 25-34 | 0-39g/day | 30+ | 0.00 | 5.00 | | 5 | 25-34 | 40-79 | 0-9g/day | 0.00 | 27.00 | | 6 | 25-34 | 40-79 | 10-19 | 0.00 | 7.00 | To see what hapens, I tried this: --8<---------------cut here---------------start------------->8--- #+srcname: foo #+begin_src R :session *R* :results output org replace library(ascii) options(asciiType =3D "org") head(esoph) #+end_src #+results: foo agegp alcgp tobgp ncases ncontrols 1 25-34 0-39g/day 0-9g/day 0 40 2 25-34 0-39g/day 10-19 0 10 3 25-34 0-39g/day 20-29 0 6 4 25-34 0-39g/day 30+ 0 5 5 25-34 40-79 0-9g/day 0 27 6 25-34 40-79 10-19 0 7 --8<---------------cut here---------------end--------------->8--- The extra line is still there. In fact, the solution was to run 'library(ascii)' in another source block. When I run only this: --8<---------------cut here---------------start------------->8--- #+begin_src R :session *R* :results output org replace ascii(head(esoph)) #+end_src #+results: foo | | agegp | alcgp | tobgp | ncases | ncontrols | |---+-------+-----------+----------+--------+-----------| | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | | 2 | 25-34 | 0-39g/day | 10-19 | 0.00 | 10.00 | | 3 | 25-34 | 0-39g/day | 20-29 | 0.00 | 6.00 | | 4 | 25-34 | 0-39g/day | 30+ | 0.00 | 5.00 | | 5 | 25-34 | 40-79 | 0-9g/day | 0.00 | 27.00 | | 6 | 25-34 | 40-79 | 10-19 | 0.00 | 7.00 | --8<---------------cut here---------------end------------->8--- Everything is then OK. I have no idea why "library(ascii)..." generates an extra empty line in the results. If I understand, the results is all the text directly under "#+results:", until the first empty line. But what happens if the result contains empty lines? Here an example with ascii and Hmisc package: --8<---------------cut here---------------start------------->8--- > library(ascii) > library(Hmisc) > ascii(describe(esoph[, 1:3])) #+CAPTION: esoph[, 1:3] - 3 Variable - 88 Observations *agegp* | n | missing | unique | | 88 | 0 | 6 | | | 25-34 | 35-44 | 45-54 | 55-64 | 65-74 | 75+ | | Frequency | 15 | 15 | 16 | 16 | 15 | 11 | | % | 17 | 17 | 18 | 18 | 17 | 12 | *alcgp* | n | missing | unique | | 88 | 0 | 4 | 0-39g/day (23, 26%), 40-79 (23, 26%), 80-119 (21, 24%), 120+ (21, 24%) *tobgp* | n | missing | unique | | 88 | 0 | 4 | 0-9g/day (24, 27%), 10-19 (24, 27%), 20-29 (20, 23%), 30+ (20, 23%) --8<---------------cut here---------------end--------------->8--- As you can see, describe() generate a description of my data, and ascii generate org-mode markup as result. The result contains empty rows. Since there is no special characters indicating the end of the results in babel, replace option will not work in this case. Is there any workaround? Of course, ascii is not usefull in this case, but it can coerce into org-mode markup many other R objects (see my previous example and http://orgmode.org/worg/org-contrib/babel/examples/ascii.php) David On Tue, Aug 17, 2010 at 15:57, Eric Schulte wrote: > Hi David, > > It seems that the problem here is in the ascii package. It is inserting > an empty line at the beginning of your table, so that the table is not > snugly sitting under the #+results foo tag, because of this the table > isn't seen as results and is not replaced -- if you delete that space > then re-run the code block you'll notice that the table is replaced. > > Org-mode is very capable of inserting tabular data into Org-mode > documents without using the ascii package. For example the following > would be a more idiomatic example of using Org-mode to create a table > from R code. > > --8<---------------cut here---------------start------------->8--- > #+begin_src R > numbers <- matrix(c(51,43,22,92,28,21,68,22,9),ncol=3D3,byrow=3DTRUE) > numbers > #+end_src > > #+results: > | 51 | 43 | 22 | > | 92 | 28 | 21 | > | 68 | 22 | 9 | > > #+begin_src R :colnames yes > numbers <- matrix(c(51,43,22,92,28,21,68,22,9),ncol=3D3,byrow=3DTRUE) > numbers > #+end_src > > #+results: > | V1 | V2 | V3 | > |----+----+----| > | 51 | 43 | 22 | > | 92 | 28 | 21 | > | 68 | 22 | 9 | > --8<---------------cut here---------------end--------------->8--- > > or applied to your example, the following code block should generate the > desired results. > > --8<---------------cut here---------------start------------->8--- > #+srcname: foo > #+begin_src R :session *R* > head(esoph) > #+end_src > --8<---------------cut here---------------end--------------->8--- > > One last small note: the "replace" argument to :results is normally the > default value, and doesn't need to be explicitly added (although I can > see why you would have added it in this case since it wasn't working as > expected). > > Cheers -- Eric > > David Hajage writes: > > > I tried the code with the last development version of org-mode: > > > > #+srcname: foo > > #+begin_src R :session *R* :results output org replace > > library(ascii) > > options(asciiType =3D "org") > > ascii(head(esoph)) > > #+end_src > > > > #+results: foo > > > > | | agegp | alcgp | tobgp | ncases | ncontrols | > > |---+-------+-----------+----------+--------+-----------| > > | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | > > | 2 | 25-34 | 0-39g/day | 10-19 | 0.00 | 10.00 | > > | 3 | 25-34 | 0-39g/day | 20-29 | 0.00 | 6.00 | > > | 4 | 25-34 | 0-39g/day | 30+ | 0.00 | 5.00 | > > | 5 | 25-34 | 40-79 | 0-9g/day | 0.00 | 27.00 | > > | 6 | 25-34 | 40-79 | 10-19 | 0.00 | 7.00 | > > > > | | agegp | alcgp | tobgp | ncases | ncontrols | > > |---+-------+-----------+----------+--------+-----------| > > | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | > > | 2 | 25-34 | 0-39g/day | 10-19 | 0.00 | 10.00 | > > | 3 | 25-34 | 0-39g/day | 20-29 | 0.00 | 6.00 | > > | 4 | 25-34 | 0-39g/day | 30+ | 0.00 | 5.00 | > > | 5 | 25-34 | 40-79 | 0-9g/day | 0.00 | 27.00 | > > | 6 | 25-34 | 40-79 | 10-19 | 0.00 | 7.00 | > > > > There is no more ">", but an extra space. > > But, the replace option doesn't work: results are still appended. I am > not > > an org-mode guru (far, far away), but I think this is because when outp= ut > is > > org, there is no indication about the "end" of the results. > > > > David > > > > > > On Tue, Aug 17, 2010 at 10:17, David Hajage wrote: > > > >> Hello, > >> > >> I am trying to use babel with R. Here the code: > >> > >> #+srcname: foo > >> #+begin_src R :session *R* :results output org replace > >> library(ascii) > >> options(asciiType =3D "org") > >> ascii(head(esoph)) > >> #+end_src > >> > >> #+results: foo > >> > >> > | | agegp | alcgp | tobgp | ncases | ncontrols | > >> |---+-------+-----------+----------+--------+-----------| > >> | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | > >> | 2 | 25-34 | 0-39g/day | 10-19 | 0.00 | 10.00 | > >> | 3 | 25-34 | 0-39g/day | 20-29 | 0.00 | 6.00 | > >> | 4 | 25-34 | 0-39g/day | 30+ | 0.00 | 5.00 | > >> | 5 | 25-34 | 40-79 | 0-9g/day | 0.00 | 27.00 | > >> | 6 | 25-34 | 40-79 | 10-19 | 0.00 | 7.00 | > >> > >> > | | agegp | alcgp | tobgp | ncases | ncontrols | > >> |---+-------+-----------+----------+--------+-----------| > >> | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 | 40.00 | > >> | 2 | 25-34 | 0-39g/day | 10-19 | 0.00 | 10.00 | > >> | 3 | 25-34 | 0-39g/day | 20-29 | 0.00 | 6.00 | > >> | 4 | 25-34 | 0-39g/day | 30+ | 0.00 | 5.00 | > >> | 5 | 25-34 | 40-79 | 0-9g/day | 0.00 | 27.00 | > >> | 6 | 25-34 | 40-79 | 10-19 | 0.00 | 7.00 | > >> > >> With org-mode 7.01g in emacs 23, there is two problems: > >> - an extra ">" is added in the first line while output is "org" > >> - when I run the code twice, the new results is appended, while I hav= e > the > >> option "replace". > >> > >> Is there any problem with my header? > >> > >> Thank you very much for your help. > >> David > >> > > _______________________________________________ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --001485f631e2c66f89048e05f167 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you very much for your answer.

But when I run the = following code directly into R, no extra lines is added by the ascii functi= on:
> library(ascii)
Le chargement a n=E9cessit=E9 le package : proto
>= options(asciiType =3D "org")
> ascii(head(esoph)) # no extra line
| =A0 | age= gp | alcgp =A0 =A0 | tobgp =A0 =A0| ncases | ncontrols |
|---+-------+-----------+----------+--------+-----------|
=
| 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 =A0 | 40.00 =A0 =A0 |=
| 2 | 25-34 | 0-39g/day | 10-19 =A0 =A0| 0.00 =A0 | 10.00 =A0 =A0 |
| 3 | 25-34 | 0-39g/day | 20-29 =A0 =A0| 0.00 =A0 | 6.00 =A0= =A0 =A0|
| 4 | 25-34 | 0-39g/day | 30+ =A0 =A0 =A0| 0.00 =A0 | 5.00 =A0 =A0 =A0= |
| 5 | 25-34 | 40-79 =A0 =A0 | 0-9g/day | 0.00 =A0 | 27.0= 0 =A0 =A0 |
| 6 | 25-34 | 40-79 =A0 =A0 | 10-19 =A0 =A0| 0.00 =A0 | 7.00 =A0 =A0 = =A0|

To see what hapens, I tried this:
--8<---------------cu= t here---------------start------------->8---
#+srcname: foo
#+begin_src R :sessi= on *R* :results output org replace
=A0=A0library(ascii)
=A0=A0options(asciiType =3D &quo= t;org")
=A0=A0head(esoph)
#+end_src

#+results: foo

=A0= =A0agegp =A0 =A0 alcgp =A0 =A0tobgp ncases ncontrols
1 25-34 0-39g/day 0-9g/day =A0 =A0 =A00 =A0 =A0 =A0 =A040
=
2 25-34 0-39g/day =A0 =A010-19 =A0 =A0 =A00 =A0 =A0 =A0 =A010
3 25-34 0-39g/day =A0 =A020-29 =A0 =A0 =A00 =A0 =A0 =A0 =A0 6
4 25-34 0-39g/day =A0 =A0 =A030+ =A0 =A0 =A00 =A0 =A0 =A0 =A0 5
5 25-34 =A0 =A0 40-79 0-9g/day =A0 =A0 =A00 =A0 =A0 =A0 =A027
6 25-34 =A0 =A0 40-79 =A0 =A010-19 =A0 =A0 =A00 =A0 =A0 =A0 =A0 7<= /font>
--8<---------------cut here---------------end---------= ------>8---

The extra line is still there.

In fact, the solution was to run 'library(ascii)' in another= source block. When I run only this:

--8<---------------cut = here---------------start------------->8---
#+begin_src R :session *R* :results output org replace
=A0=A0ascii(head(esoph))
#+end_src

#+results: foo=
| =A0 | agegp | alcgp =A0 =A0 | =A0 =A0tobgp | ncases | ncontrols |
|---+-------+-----------+----------+--------+-----------|
| 1 | 25-34 | 0-39g/day | 0-9g/day | =A0 0.00 | =A0 =A0 40.00 |=
| 2 | 25-34 | 0-39g/day | =A0 =A010-19 | =A0 0.00 | =A0 =A0 10.0= 0 |
| 3 | 25-34 | 0-39g/day | =A0 =A020-29 | =A0 0.00 | =A0 =A0 =A06.00 |<= /font>
| 4 | 25-34 | 0-39g/day | =A0 =A0 =A030+ | =A0 0.00 | =A0 = =A0 =A05.00 |
| 5 | 25-34 | 40-79 =A0 =A0 | 0-9g/day | =A0 0.00 | =A0 =A0 27.00 |
| 6 | 25-34 | 40-79 =A0 =A0 | =A0 =A010-19 | =A0 0.00 | =A0 = =A0 =A07.00 |
--8&= lt;---------------cut here---------------end------------->8---

Everything is then OK.
I have no idea why &qu= ot;library(ascii)..." generates an extra empty line in the results.

If I understand, the results is all the text directl= y under "#+results:"= , until the first empty line. But what happens if the result contains empty= lines? Here an example with ascii and Hmisc package:

--8<---------------cut here---------------start-------------&g= t;8---
> library(ascii)
> ascii(describe(= esoph[, 1:3]))
#+CAPTION: esoph[, 1:3]
- 3 Variable
- 88 Observations

*agegp*
| n =A0| missing | uniq= ue |
| 88 | 0 =A0 =A0 =A0 | 6 =A0 =A0 =A0|

| =A0 =A0 =A0 =A0 =A0 | 25-34 | 35-44 | 45-54 | 55-64 | 65-74 | 75+ = |
| Frequency | 15 =A0 =A0| 15 =A0 =A0| 16 =A0 =A0| 16 =A0 =A0| 15 =A0 = =A0| 11 =A0|
| % =A0 =A0 =A0 =A0 | 17 =A0 =A0| 17 =A0 =A0|= 18 =A0 =A0| 18 =A0 =A0| 17 =A0 =A0| 12 =A0|

*alcgp*
| n =A0| missing | uniq= ue |
| 88 | 0 =A0 =A0 =A0 | 4 =A0 =A0 =A0|

=A00-39g/day (23, 26%), 40-79 (23, 26%), 80-119 (21, 24%), 120+ (21,= 24%)

*tobgp*
| n =A0| missing | uniq= ue |
| 88 | 0 =A0 =A0 =A0 | 4 =A0 =A0 =A0|

=A00-9g/day (24, 27%), 10-19 (24, 27%), 20-29 (20, 23%), 30+ (20, 23= %)
--8<----= -----------cut here---------------end--------------->8---<= /div>

<= div> As you can see, describe() generate a description of my data, and ascii gen= erate org-mode markup as result. The result contains empty rows. Since ther= e is no special characters indicating the end of the results in babel, repl= ace option will not work in this case. Is there any workaround?

Of course, ascii is not usefull in this case, but it ca= n coerce into org-mode markup many other R objects (see my previous example= and=A0http://orgmode.org/worg/org-contrib/babel/examples/ascii.php)

David


On Tue, Aug 17, 2010 at 15:57, Eric Schu= lte <schulte= .eric@gmail.com> wrote:
Hi David,

It seems that the problem here is in the ascii package. =A0It is inserting<= br> an empty line at the beginning of your table, so that the table is not
snugly sitting under the #+results foo tag, because of this the table
isn't seen as results and is not replaced -- if you delete that space then re-run the code block you'll notice that the table is replaced.
Org-mode is very capable of inserting tabular data into Org-mode
documents without using the ascii package. =A0For example the following
would be a more idiomatic example of using Org-mode to create a table
from R code.

--8<---------------cut here---------------start------------->8---
#+begin_src R
=A0numbers <- matrix(c(51,43,22,92,28,21,68,22,9),ncol=3D3,byrow=3DTRUE= )
=A0numbers
#+end_src

#+results:
| 51 | 43 | 22 |
| 92 | 28 | 21 |
| 68 | 22 | =A09 |

#+begin_src R :colnames yes
=A0numbers <- matrix(c(51,43,22,92,28,21,68,22,9),ncol=3D3,byrow=3DTRUE= )
=A0numbers
#+end_src

#+results:
| V1 | V2 | V3 |
|----+----+----|
| 51 | 43 | 22 |
| 92 | 28 | 21 |
| 68 | 22 | =A09 |
--8<---------------cut here---------------end--------------->8---

or applied to your example, the following code block should generate the desired results.

--8<---------------cut here---------------start------------->8---
#+srcname: foo
#+begin_src R :session *R*
=A0head(esoph)
#+end_src
--8<---------------cut here---------------end--------------->8---

One last small note: the "replace" argument to :results is normal= ly the
default value, and doesn't need to be explicitly added (although I can<= br> see why you would have added it in this case since it wasn't working as=
expected).

Cheers -- Eric

David Hajage <dhajage@gmail.com= > writes:

> I tried the code with the last development version of org-mode:
>
> #+srcname: foo
> #+begin_src R :session *R* :results output org replace
> =A0 library(ascii)
> =A0 options(asciiType =3D "org")
> =A0 ascii(head(esoph))
> #+end_src
>
> #+results: foo
>
> =A0| =A0 | agegp | alcgp =A0 =A0 | tobgp =A0 =A0| ncases | ncontrols |=
> |---+-------+-----------+----------+--------+-----------|
> | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 =A0 | 40.00 =A0 =A0 |
> | 2 | 25-34 | 0-39g/day | 10-19 =A0 =A0| 0.00 =A0 | 10.00 =A0 =A0 | > | 3 | 25-34 | 0-39g/day | 20-29 =A0 =A0| 0.00 =A0 | 6.00 =A0 =A0 =A0|<= br> > | 4 | 25-34 | 0-39g/day | 30+ =A0 =A0 =A0| 0.00 =A0 | 5.00 =A0 =A0 =A0= |
> | 5 | 25-34 | 40-79 =A0 =A0 | 0-9g/day | 0.00 =A0 | 27.00 =A0 =A0 | > | 6 | 25-34 | 40-79 =A0 =A0 | 10-19 =A0 =A0| 0.00 =A0 | 7.00 =A0 =A0 = =A0|
>
> =A0| =A0 | agegp | alcgp =A0 =A0 | tobgp =A0 =A0| ncases | ncontrols |=
> |---+-------+-----------+----------+--------+-----------|
> | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 =A0 | 40.00 =A0 =A0 |
> | 2 | 25-34 | 0-39g/day | 10-19 =A0 =A0| 0.00 =A0 | 10.00 =A0 =A0 | > | 3 | 25-34 | 0-39g/day | 20-29 =A0 =A0| 0.00 =A0 | 6.00 =A0 =A0 =A0|<= br> > | 4 | 25-34 | 0-39g/day | 30+ =A0 =A0 =A0| 0.00 =A0 | 5.00 =A0 =A0 =A0= |
> | 5 | 25-34 | 40-79 =A0 =A0 | 0-9g/day | 0.00 =A0 | 27.00 =A0 =A0 | > | 6 | 25-34 | 40-79 =A0 =A0 | 10-19 =A0 =A0| 0.00 =A0 | 7.00 =A0 =A0 = =A0|
>
> There is no more ">", but an extra space.
> But, the replace option doesn't work: results are still appended. = I am not
> an org-mode guru (far, far away), but I think this is because when out= put is
> org, there is no indication about the "end" of the results.<= br> >
> David
>
>
> On Tue, Aug 17, 2010 at 10:17, David Hajage <dhajage@gmail.com> wrote:
>
>> Hello,
>>
>> I am trying to use babel with R. Here the code:
>>
>> #+srcname: foo
>> #+begin_src R :session *R* :results output org replace
>> =A0 library(ascii)
>> =A0 options(asciiType =3D "org")
>> =A0 ascii(head(esoph))
>> #+end_src
>>
>> #+results: foo
>>
>> > | =A0 | agegp | alcgp =A0 =A0 | tobgp =A0 =A0| ncases | ncont= rols |
>> |---+-------+-----------+----------+--------+-----------|
>> | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 =A0 | 40.00 =A0 =A0 | >> | 2 | 25-34 | 0-39g/day | 10-19 =A0 =A0| 0.00 =A0 | 10.00 =A0 =A0 = |
>> | 3 | 25-34 | 0-39g/day | 20-29 =A0 =A0| 0.00 =A0 | 6.00 =A0 =A0 = =A0|
>> | 4 | 25-34 | 0-39g/day | 30+ =A0 =A0 =A0| 0.00 =A0 | 5.00 =A0 =A0= =A0|
>> | 5 | 25-34 | 40-79 =A0 =A0 | 0-9g/day | 0.00 =A0 | 27.00 =A0 =A0 = |
>> | 6 | 25-34 | 40-79 =A0 =A0 | 10-19 =A0 =A0| 0.00 =A0 | 7.00 =A0 = =A0 =A0|
>>
>> > | =A0 | agegp | alcgp =A0 =A0 | tobgp =A0 =A0| ncases | ncont= rols |
>> |---+-------+-----------+----------+--------+-----------|
>> | 1 | 25-34 | 0-39g/day | 0-9g/day | 0.00 =A0 | 40.00 =A0 =A0 | >> | 2 | 25-34 | 0-39g/day | 10-19 =A0 =A0| 0.00 =A0 | 10.00 =A0 =A0 = |
>> | 3 | 25-34 | 0-39g/day | 20-29 =A0 =A0| 0.00 =A0 | 6.00 =A0 =A0 = =A0|
>> | 4 | 25-34 | 0-39g/day | 30+ =A0 =A0 =A0| 0.00 =A0 | 5.00 =A0 =A0= =A0|
>> | 5 | 25-34 | 40-79 =A0 =A0 | 0-9g/day | 0.00 =A0 | 27.00 =A0 =A0 = |
>> | 6 | 25-34 | 40-79 =A0 =A0 | 10-19 =A0 =A0| 0.00 =A0 | 7.00 =A0 = =A0 =A0|
>>
>> With org-mode 7.01g in emacs 23, there is two problems:
>> =A0- an extra ">" is added in the first line while ou= tput is "org"
>> =A0- when I run the code twice, the new results is appended, while= I have the
>> option "replace".
>>
>> Is there any problem with my header?
>>
>> Thank you very much for your help.
>> David
>>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001485f631e2c66f89048e05f167-- --===============1082351660== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1082351660==--