Re: [O] org-babel export table from R to LaTeX

2012-02-15 Thread Riccardo Romoli
Thanks for your suggestion, I solved the problem using: #+headers: :results output latex #+begin_src R :session *R* :exports results ... print(xtable(summary(mypca))) #+end_src Regards Riccardo 2012/2/14 Andreas Leha andreas.l...@med.uni-goettingen.de Christophe Pouzat

Re: [O] org-babel export table from R to LaTeX

2012-02-14 Thread Riccardo Romoli
If I set :export latex when I exports to LaTeX I have only the R code, not the table. Best 2012/2/14 Christophe Pouzat christophe.pou...@gmail.com Riccardo Romoli ric.rom...@gmail.com writes: Hi, I work with org-babel and R. In the R session I create a table that I have to export to

Re: [O] org-babel export table from R to LaTeX

2012-02-14 Thread Christophe Pouzat
Sorry, Checking foo.org (http://orgmode.org/w/?p=worg.git;a=blob_plain;f=org-contrib/babel/examples/foo.org;hb=HEAD) I got the correct way to do it: #+begin_src R :results output latex :exports results library(xtable) xtable(foo, caption = ANOVA Table, label = tab:one, digits = c(0,

Re: [O] org-babel export table from R to LaTeX

2012-02-14 Thread Andreas Leha
Christophe Pouzat christophe.pou...@gmail.com writes: Sorry, Checking foo.org (http://orgmode.org/w/?p=worg.git;a=blob_plain;f=org-contrib/babel/examples/foo.org;hb=HEAD) I got the correct way to do it: #+begin_src R :results output latex :exports results library(xtable) xtable(foo,