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

2011-11-18 Thread Rainer Schuermann
It works if you separate the print command and put the caption placement in the print command , see below: \documentclass[11pt,a4paper]{article} \usepackage{Sweave} \begin{document} <<>>= x = runif(100, 1, 10) y = 2 + 3 * x + rnorm(100) @ <>= library(xtable) p <- (xtable(summary(lm(

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

2011-11-18 Thread Charles Roosen
l free to contact me. Best regards, Charlie Roosen xtable maintainer Charles Roosen, PhD Technical Director Mango Solutions AG -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of ren...@vannieuwkoop.ch Sent: 18 November 2011 09:33 To: r-

[R] 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} \usepackage