t...@tsdye.com (Thomas S. Dye) writes:
> Or, fiddling a bit more.
>
> #+name: luo
> #+BEGIN_SRC R :results output raw
> library(ascii)
> df <- data.frame(c1="123456789123456789000",c2=2)
> df$c1 <- as.vector(df$c1)
> print(ascii(df,digits=c(0,0),include.rownames=F),type="org")
> #+END_SRC
d if the c1 has any character
other than numbers as the following.
,
| #+BEGIN_SRC R
| df <- data.frame(c1="c123456789123456789",c2=2)
| df$c1 <- as.vector(df$c1)
| df
| #+END_SRC
|
| #+RESULTS:
| | c123456789123456789 | 2 |
|
`
> Aloha Eric,
>
> Eric Luo
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 r
Thanks for your reminder, I updated the orgmode to the lastest, now it's ok
Eric S Fraga writes:
>
> What was the snippet? (or at least a minimal version of one that
> exhibits the problem)
Sorry for my mistake, I've forgotten the snippet, actually no matter
what i put in the block, the image couldn't be opened if the
generated it in orgmode.
Anyway, what the snippet i
Hi, I have the following snippet in one of my org files, and have the
babel settings as following:
,
| (setq org-ditaa-jar-path
| "~/.emacs.d/org-mode/contrib/scripts/ditaa.jar")
| (org-babel-do-load-languages
| 'org-babel-load-languages (quote ((emacs-lisp . t)
|
for test