emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* can't get table output when running r babel
@ 2018-08-08 15:10 Zhihao Ding
  2018-08-08 15:39 ` Berry, Charles
  2018-08-09  5:32 ` Robert Klein
  0 siblings, 2 replies; 4+ messages in thread
From: Zhihao Ding @ 2018-08-08 15:10 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 905 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: can't get table output when running r babel
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Berry, Charles @ 2018-08-08 15:39 UTC (permalink / raw)
  To: Zhihao Ding; +Cc: emacs-orgmode@gnu.org



> On Aug 8, 2018, at 8:10 AM, Zhihao Ding <zhihao.ding@gmail.com> wrote:
> 
> 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:
> 
> 

I get

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


Org mode version 9.1.13 (release_9.1.13-895-gf79545 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)

HTH,

Chuck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: can't get table output when running r babel
  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
  2018-08-09  8:29   ` Zhihao Ding
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Klein @ 2018-08-09  5:32 UTC (permalink / raw)
  To: Zhihao Ding; +Cc: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: can't get table output when running r babel
  2018-08-09  5:32 ` Robert Klein
@ 2018-08-09  8:29   ` Zhihao Ding
  0 siblings, 0 replies; 4+ messages in thread
From: Zhihao Ding @ 2018-08-09  8:29 UTC (permalink / raw)
  To: Robert Klein; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

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 <roklein@roklein.de> wrote:

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

[-- Attachment #2: Type: text/html, Size: 2378 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-09  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2018-08-09  8:29   ` Zhihao Ding

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