[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] was this intentional with the default header ":results value"
From: |
Eric Luo |
Subject: |
Re: [O] was this intentional with the default header ":results value" |
Date: |
Sun, 15 Jul 2012 17:18:26 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
address@hidden (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
>
> #+RESULTS: luo
> | c1 | c2 |
> |-----------------------+----|
> | 123456789123456789000 | 2 |
>
Thanks for your help in time, it works like in a charm.