Re: [O] can't get table output when running r babel

2018-08-09 Thread Zhihao Ding
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=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
>
>
>
>
>
>


Re: [O] can't get table output when running r babel

2018-08-08 Thread Robert Klein
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=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








Re: [O] can't get table output when running r babel

2018-08-08 Thread Berry, Charles



> On Aug 8, 2018, at 8:10 AM, Zhihao Ding  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



[O] can't get table output when running r babel

2018-08-08 Thread Zhihao Ding
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