Re: [R] longtable example

2009-01-09 Thread Dieter Menne
Felipe Carrillo yahoo.com> writes: > One thing that I noticed though, when I generated my pdf > all the pages had different numbers of rows, for example page 1 had 24 rows,second page 15 rows,third page 2 > rows of data. Is that something that can be controlled with pagebreaks? I darkly rememb

Re: [R] longtable example

2009-01-09 Thread Felipe Carrillo
rom: Dieter Menne > Subject: Re: [R] longtable example > To: r-help@r-project.org > Date: Friday, January 9, 2009, 10:01 AM > Felipe Carrillo wrote: > > > > This is what I got. > > > > \documentclass[11pt]{article} > > \usepackage{longtable,lscape} >

Re: [R] longtable example

2009-01-09 Thread Dieter Menne
Felipe Carrillo wrote: > > This is what I got. > > \documentclass[11pt]{article} > \usepackage{longtable,lscape} > \usepackage{accents} > \usepackage[usenames,dvipsnames]{color} % load all the colors > \title{\color{Blue}How to transfer column names and add captions to pages > in document} > .

Re: [R] longtable example

2009-01-09 Thread Felipe Carrillo
environments=c("center"),include.rownames=FALSE,floating=FALSE) @ I want to add the column headers from the first page to the rest of the pages and the caption 'Continued' to the top of each page. Thanks \end{document} --- On Thu, 1/8/09, Dieter Menne wrote: > From: Dieter

Re: [R] longtable example

2009-01-08 Thread Dieter Menne
Felipe Carrillo yahoo.com> writes: > > Could someone try to run this example? I can't make it work. It would be better if you would show a complete sample; the error could be in the header part, and chances are better to get a reply when other do not have to guess what to add. > \begin{smal

[R] longtable example

2009-01-08 Thread Felipe Carrillo
Hi: Could someone try to run this example? I can't make it work. ## Not run: \begin{small} \setlongtables \begin{longtable}{ <>= cat(paste(c('c', rep('cc', 34/2-1), 'c'), collapse='@{\hspace{2pt}}')) @ } \hline \endhead \hline \endfoot <>= library(xtable) set.seed(2345) res <- matr