[R] How to illustrate data of a csv file as table (xtable?)
Jeff Newmiller
jdnewmil at dcn.davis.CA.us
Sat May 24 18:36:04 CEST 2014
That is one way. Pandoc is another way, though it requires fiddling in Word to format the tables right.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
On May 24, 2014 9:02:43 AM PDT, Verena Weinbir <vweinbir at gmail.com> wrote:
>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 <jrkrideau at 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: vweinbir at gmail.com
>> > Sent: Sat, 24 May 2014 00:31:44 +0200
>> > To: r-help at 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 at 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 at 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.
More information about the R-help
mailing list