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 > Christophe Pouzat writes: > > > Sorry, > > > > Checking foo.org > > ( >

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

2012-02-14 Thread Andreas Leha
Christophe Pouzat 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, caption = "ANOVA Ta

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(

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 > Riccardo Romoli writes: > > > Hi, I work with org-babel and R. > > In the R session I create a table that I have to export to LaTeX. > > This is the code I use: > > > > #+he

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

2012-02-14 Thread Riccardo Romoli
Hi, I work with org-babel and R. In the R session I create a table that I have to export to LaTeX. This is the code I use: #+headers: :results latex #+begin_src R :session *R* :exports results . print(xtable(summary(mypca))) #+end_src I do not understand why the exported table is delimited