emacs-orgmode
[Top][All Lists]
Advanced

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

[O] was this intentional with the default header ":results value"


From: Eric Luo
Subject: [O] was this intentional with the default header ":results value"
Date: Fri, 13 Jul 2012 22:24:46 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Hi, 
Why in the following code block, c1 was printed as scientific notation
rather then characters.
,----
| 
| #+BEGIN_SRC R :results value
|   df <- data.frame(c1="123456789123456789",c2=2)
| #+END_SRC
| 
| #+RESULTS:
| | 1.2345678912345678e+17 | 2 |
`----
But if the header :results output, the result was expected.
,----
| 
| #+BEGIN_SRC R :results output 
|   df <- data.frame(c1="123456789123456789",c2=2)
|   df
| #+END_SRC
| 
| #+RESULTS:
| :                   c1 c2
| : 1 123456789123456789  2
`----

Thanks




reply via email to

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