hey guys, thank you very much for your help! Sorry for the confusion! I write my thesis in word (So it would be "word sheet" - which is obvisously not a word at all :-D sorry again), but for generating tables I use xtable () with latex output. The data for the table is stored in an excel sheet. I managed to implement a multipage table by using tabular.environment="longtable" in the xtable () function and will probably try begin/end{landscape} in Latex to turn the table around.
The only way to copy the table into my word document is probably to convert the latex output into a pdf and then use the snipping tool to cut it out and paste it into the word document ? On Sat, May 24, 2014 at 5:25 PM, John Kane <jrkrid...@inbox.com> wrote: > Verena > Do you mean word-sheet or is this a typo for 'work-sheet'? > > John Kane > Kingston ON Canada > > > > -----Original Message----- > > From: vwein...@gmail.com > > Sent: Sat, 24 May 2014 00:31:44 +0200 > > To: r-help@r-project.org > > Subject: [R] How to illustrate data of a csv file as table (xtable?) > > > > Hello! > > > > I'd like to illustrate the data of an csv file as a nice table and copy > > it > > into my word-sheet. Currently, I am trying this with the xtable () > > function > > (latex output). > > > > Example Code: > > > > dfchar <- data.frame(Author = dat$author, Year = dat$year, Age = dat$age) > > xtable(dfchar) > > > > Now, since there are some more variables and many more data sets I have > > to > > include, I need to change the table orientation to landscape*. *The size > > of > > the table should run over several pages. > > > > Does anyone know how to implement this with the xtable () function or can > > provide me with an alternative function? > > > > Thank you very much in advance! > > > > Verena > > > > [[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. > > ____________________________________________________________ > FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! > Check it out at http://www.inbox.com/earth > > > [[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.