Rainer M Krug <[email protected]> writes:
> Well - if the result is an R data.frame, it would not make a difference
> if I use :results table or not - correct?
This is how I understand it. Because an R data.frame looks like a
table, the babel default is to represent it as a table in the results.
However, Babel interprets the single-cell table as a scalar.
#+begin_src R :results value
ret <- data.frame("scalar")
#+end_src
#+results:
: scalar
#+begin_src R :results value table
ret <- data.frame("table")
#+end_src
#+results:
| table |
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com