Re: [R] Fwd: xtable and sweave: caption placement problem

2011-11-22 Thread Brian Diggs
On 11/18/2011 1:22 AM, ren...@vannieuwkoop.ch wrote: \documentclass[11pt,a4paper]{article} \usepackage{Sweave} \begin{document} = x = runif(100, 1, 10) y = 2 + 3 * x + rnorm(100) @ echo=FALSE,results=tex= library(xtable) print(xtable(summary(lm(y~x)), align=r, caption=Summary

[R] Fwd: xtable and sweave: caption placement problem

2011-11-18 Thread renger
Dear All I am running Sweave with xtable and want to put the caption placement on top. But this does not work. Any idea what is going wrong? Here is an example that runs properly with the exception of the caption placement in the pdf-file. \documentclass[11pt,a4paper]{article}