emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <roklein@roklein.de>
To: Zhihao Ding <zhihao.ding@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: can't get table output when running r babel
Date: Thu, 9 Aug 2018 07:32:44 +0200	[thread overview]
Message-ID: <20180809073237.5bc08c50@lt70.mpip-mainz.mpg.de> (raw)
In-Reply-To: <CANEsYxbEsPxK_PQ5eG1QqG=KKZfkEQsTzMrwmOoe1rAxQGCsSg@mail.gmail.com>

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:
> 
>    #+HEADER: :results value
>     #+BEGIN_SRC R
>       data <- data.frame(list(a=c(1,2,3), b=c(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 “maint”, your elpa version should be up to date, too (“20180806”).

What ist your Emacs version?  Do you also encounter the issue with a minimal Emacs/Org setup?

Best regards
Robert

  parent reply	other threads:[~2018-08-09  5:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 15:10 can't get table output when running r babel Zhihao Ding
2018-08-08 15:39 ` Berry, Charles
2018-08-09  5:32 ` Robert Klein [this message]
2018-08-09  8:29   ` Zhihao Ding

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=20180809073237.5bc08c50@lt70.mpip-mainz.mpg.de \
    --to=roklein@roklein.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhihao.ding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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