Re: [R] Problem with xtable- rescaling a table

2012-02-05 Thread Ista Zahn
Hi Tal, Untested, but it should just be a matter of giving tabularx style formatting in the align option to xtable(), and then using "tabularx" as the tabular.environment argument to print.xtable() see ?xtable and ?print.xtable for details. Best, Ista On Sunday, February 05, 2012 01:16:38 PM

Re: [R] Problem with xtable- rescaling a table

2012-02-05 Thread Tal Galili
Dear Ista, Do you happen to know of a way to use the {tabularx} LaTeX pacakge, so to have it work with xtables? I would rather have my columns adjust themselves then to rotate my table. Thank you in advance, Tal Contact Details:

Re: [R] Problem with xtable- rescaling a table

2012-02-04 Thread Ista Zahn
Hi Aurelien, You just need to put the \caption outside the scalebox command, like this: \documentclass[11pt]{report} \usepackage{rotating} %\usepackage[counterclockwise]{rotating} \usepackage{graphics} \usepackage{float} \pagestyle{empty} \begin{document} \begin{sidewaystable}[ht] \center

Re: [R] Problem with xtable- rescaling a table

2012-02-04 Thread Aurélien PHILIPPOT
ith no > caption? > > Thanks, > Charlie Roosen > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Aurélien PHILIPPOT > Sent: 01 February 2012 19:38 > To: Ista Zahn; R-help@r-project.org > Subject: Re:

Re: [R] Problem with xtable- rescaling a table

2012-02-01 Thread Aurélien PHILIPPOT
Thanks Ista. Your suggestion works. When I make the option floating=F, the caption no longer appears in the Tex code generated by xtable. If I had \caption {Title} in the code, it does not seem to work. \documentclass[11pt]{report} \usepackage{rotating} %\usepackage[counterclockwise]{rotating}

Re: [R] Problem with xtable- rescaling a table

2012-02-01 Thread Ista Zahn
Hi, It looks like you need scalebox inside the sidewaystable environment. If you must use scalebox, one solution is to use floating=FALSE when you call print.xtable, and insert the table environment directly in LaTeX, like this: \begin{sidewaystable}[ht] \scalebox{0.7}{ <>= print(outfile, inclu

[R] Problem with xtable- rescaling a table

2012-01-31 Thread Aurélien PHILIPPOT
Dear R users, I am new to Latex and I am using the R package xtable to generate tables. I want to produce a table that is very long. in the landscape format, but I would need to rescale the table so that it fits in the page. xtable enables me to have the landscape format, but I cannot rescale it,

Re: [R] Problem with xtable

2011-08-22 Thread David Winsemius
On Aug 22, 2011, at 3:18 PM, ea819 wrote: Dear all, I am having trouble creating LaTex tables using the xtable command. I am using the bayesm package to analyse data. However, I am unable to generate LaTex tables converting the output from summary(out$deltadraws.) I have made several att

[R] Problem with xtable

2011-08-22 Thread ea819
Dear all, I am having trouble creating LaTex tables using the xtable command. I am using the bayesm package to analyse data. However, I am unable to generate LaTex tables converting the output from summary(out$deltadraws.) I have made several attempts using xtable but have been unsuccessful and re