From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhihao Ding Subject: Re: can't get table output when running r babel Date: Thu, 9 Aug 2018 09:29:05 +0100 Message-ID: References: <20180809073237.5bc08c50@lt70.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003d23cd0572fc6c98" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fngJr-0001EI-Bg for emacs-orgmode@gnu.org; Thu, 09 Aug 2018 04:29:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fngJq-0001To-9H for emacs-orgmode@gnu.org; Thu, 09 Aug 2018 04:29:19 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:42656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fngJp-0001TJ-SN for emacs-orgmode@gnu.org; Thu, 09 Aug 2018 04:29:18 -0400 Received: by mail-pg1-x52f.google.com with SMTP id y4-v6so2402734pgp.9 for ; Thu, 09 Aug 2018 01:29:17 -0700 (PDT) In-Reply-To: <20180809073237.5bc08c50@lt70.mpip-mainz.mpg.de> 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" To: Robert Klein Cc: "emacs-orgmode@gnu.org" --0000000000003d23cd0572fc6c98 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Chuck and Robert, Thanks for your replies. I am able to get it working on an independent installation. It looks like something has gone wrong in my package installations. I guess it's probably time to nuke my repo and start over, already spent quite a lot of time debugging this particular error. Thanks again, Zhihao On Thu, Aug 9, 2018 at 6:32 AM Robert Klein wrote: > On Wed, 8 Aug 2018 16:10:10 +0100 > Zhihao Ding wrote: > > > Hi there, > > > > I can't seem to get a table output from running this toy example: > > > > #+HEADER: :results value > > #+BEGIN_SRC R > > data <- data.frame(list(a=3Dc(1,2,3), b=3Dc(4,5,6))) > > data > > #+END_SRC > > > > #+RESULTS: > > > > The problem seems to be > > org-babel-insert-result: Wrong type argument: markerp, nil > > > > I see that the value of org-field-marker is nil in org-table.el. > > > > I am using this version of org: > > Org mode version 9.1.13 (9.1.13-elpa @ > > /home/user/.emacs.d/elpa/org-20180806/) > > > > If anyone could advise it'd be great. > > > > Thanks, > > Zhihao > > > Hi Zhihao, > > I als get > > #+RESULTS: > | 1 | 4 | > | 2 | 5 | > | 3 | 6 | > > > using > "GNU Emacs 26.1 (build 3, x86_64-unknown-openbsd6.3, GTK+ Version 2.24.32= ) > of 2018-05-30" > Org mode version 9.1.13 (release_9.1.13-5-g30498e @ > /home/roklein/.emacs.d/org-mode/lisp/) > > My org version is up-to-date =E2=80=9Cmaint=E2=80=9D, your elpa version s= hould be up to > date, too (=E2=80=9C20180806=E2=80=9D). > > What ist your Emacs version? Do you also encounter the issue with a > minimal Emacs/Org setup? > > Best regards > Robert > > > > > > --0000000000003d23cd0572fc6c98 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Chuck and Robert,

Thanks for your re= plies. I am able to get it working on an independent installation.=C2=A0
It looks like something has gone wrong in my package installations.= =C2=A0
I guess it's probably time to nuke my repo and start o= ver, already spent quite a lot of=C2=A0
time debugging this parti= cular error.=C2=A0

Thanks again,=C2=A0
Z= hihao



On Thu, Aug 9, 2018 at 6:32 AM Robert Klein <roklein@roklein.de> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">On Wed, 8 Aug 2018 16:10:10 +0100
Zhihao Ding <= zhihao.ding@gmail.com> wrote:

> Hi there,
>
> I can't seem to get a table output from running this toy example:<= br> >
>=C2=A0 =C2=A0 #+HEADER: :results value
>=C2=A0 =C2=A0 =C2=A0#+BEGIN_SRC R
>=C2=A0 =C2=A0 =C2=A0 =C2=A0data <- data.frame(list(a=3Dc(1,2,3), b= =3Dc(4,5,6)))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0data
>=C2=A0 =C2=A0 =C2=A0#+END_SRC
>
>=C2=A0 =C2=A0 =C2=A0#+RESULTS:
>
> The problem seems to be
> org-babel-insert-result: Wrong type argument: markerp, nil
>
> I see that the value of org-field-marker is nil in org-table.el.
>
> I am using this version of org:
> Org mode version 9.1.13 (9.1.13-elpa @
> /home/user/.emacs.d/elpa/org-20180806/)
>
> If anyone could advise it'd be great.
>
> Thanks,
> Zhihao


Hi Zhihao,

I als get

#+RESULTS:
| 1 | 4 |
| 2 | 5 |
| 3 | 6 |


using
"GNU Emacs 26.1 (build 3, x86_64-unknown-openbsd6.3, GTK+ Version 2.24= .32)
=C2=A0of 2018-05-30"
Org mode version 9.1.13 (release_9.1.13-5-g30498e @ /home/roklein/.emacs.d/= org-mode/lisp/)

My org version is up-to-date =E2=80=9Cmaint=E2=80=9D, your elpa version sho= uld be up to date, too (=E2=80=9C20180806=E2=80=9D).

What ist your Emacs version?=C2=A0 Do you also encounter the issue with a m= inimal Emacs/Org setup?

Best regards
Robert





--0000000000003d23cd0572fc6c98--