emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* was this intentional with the default header ":results value"
@ 2012-07-13 14:24 Eric Luo
  2012-07-14 16:44 ` Thomas S. Dye
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Luo @ 2012-07-13 14:24 UTC (permalink / raw)
  To: emacs-orgmode


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

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

end of thread, other threads:[~2012-07-15  9:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 14:24 was this intentional with the default header ":results value" Eric Luo
2012-07-14 16:44 ` Thomas S. Dye
2012-07-15  1:00   ` Eric Luo
2012-07-15  3:33     ` Thomas S. Dye
2012-07-15  3:54       ` Thomas S. Dye
2012-07-15  9:18         ` Eric Luo

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