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
> > (
>
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
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(
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
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