emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Org export to latex produces incorrect table [8.3beta (rele


From: Thomas S. Dye
Subject: Re: [O] Bug: Org export to latex produces incorrect table [8.3beta (release_8.3beta-1157-g8ddb84 @ /home/malsburg/usr/share/emacs/site-lisp/org/)]
Date: Sun, 24 May 2015 05:36:32 -1000

Titus von der Malsburg <address@hidden> writes:

>> You got the result of rownames(x), which is expected.  The table you
>> expect is given by the following code:
>
> Ah, I see, thanks.  Although the results is still somewhat
> unexpected.  c("One:", "Two:") doesn’t have rownames and colnames.  So
> org apparently made them up when generating the table.

Also expected due to :rownames yes :colnames yes.  Without those two
header arguments:

#+header: :session
#+BEGIN_SRC R :results table :exports results
  x <- data.frame(a=1:2, b=3:4)
  rownames(x) <- c("One:", "Two:")
#+END_SRC

#+results:
| One: |
| Two: |

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]