Thanks for your replay!!! Problem solved!!

Best
Riccardo

2012/2/26 Yihui Xie <xie@yihui.name>

> print(xtable(...), ..., table.placement = '')
>
> this is an xtable problem; see ?print.xtable
>
> Regards,
> Yihui
> --
> Yihui Xie <xieyihui@gmail.com>
> Phone: 515-294-2465 Web: http://yihui.name
> Department of Statistics, Iowa State University
> 2215 Snedecor Hall, Ames, IA
>
>
>
> On Sun, Feb 26, 2012 at 3:30 PM, Riccardo Romoli <ric.romoli@gmail.com>
> wrote:
> > Hi, I'm working with Sweave and I have some trouble generating table.
> The R
> > code is:
> >
> > print(xtable(myTable, caption ="", label="tab:myTab",
> > digits=3), tabular.environment='tabular',          floating=TRUE,
> > caption.placement="top",size="\\scriptsize")
> >
> > and the resulting LaTeX table is:
> >
> > \begin{table}[ht]
> >  \begin{center}
> >    \caption{Principal component analysis of soil dispersed in water}
> > \label{tab:myTab}
> > {\scriptsize
> > \begin{tabular}{rrrrrr}
> >  \hline
> > Table
> >   \hline
> > \end{tabular}
> > }
> > \end{center}
> > \end{table}
> >
> > So, how should I change in the R code to eliminate "[ht]" in the
> resulting
> > LaTeX table??
> >
> > Best
> >
> > Riccardo
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

