[R] What is the best way to have "R" output tables in an MS Word format?

Max Kuhn mxkuhn at gmail.com
Thu May 6 19:57:12 CEST 2010


I remembered this post too:

   https://stat.ethz.ch/pipermail/r-help/2009-September/212084.html

I wonder if there is a beta version of Duncan's package.

Thanks,

Max


On Thu, May 6, 2010 at 12:33 PM, Tal Galili <tal.galili at gmail.com> wrote:
> Hi Chris,
>
> Following this thread, I started experimenting with the R2wd package myself.
>
> I wrote to the developer who gave me some promising news (that is - that an
> updated package is expected to be released in the next couple of months)
> I wrote about this, and gave an example session on what I found can be done
> with R2wd here:
> http://www.r-statistics.com/2010/05/exporting-r-output-to-ms-word-with-r2wd-an-example-session/
>
> This package is in it's early stages, but can still function well (though
> probably much less then what a Latex person can do with Sweave)
>
> Tal
>
>
>
> ----------------Contact
> Details:-------------------------------------------------------
> Contact me: Tal.Galili at gmail.com |  972-52-7275845
> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
> www.r-statistics.com (English)
> ----------------------------------------------------------------------------------------------
>
>
>
>
> On Mon, May 3, 2010 at 4:47 PM, Chris Evans <chrishold at psyctc.org> wrote:
>
>> Thanks Tal & Thomas, I am now experimenting with both SWord and R2wd and
>> both are certainly a huge step forward for me, tied as I am to Word and
>> the Windoze/M$ world for now.
>>
>> Chris
>>
>>
>>
>> Tal Galili sent the following  at 01/05/2010 09:44:
>>
>> > Hi all,
>> > I forwarded this question to the r-com mailing list, and received the
>> > following reply from Thomas Baier :
>> >
>> >
>> >
>> > Hi Tal,
>> >
>> > two solutions immediately come to my mind: SWord
>> > (http://rcom.univie.ac.at) and R2wd (from CRAN).
>> >
>> > If creating a paper in Word, then SWord may be the better choice, if you
>> > want to create reports controlled from R, R2wd might be the better one.
>> >
>> > Best,
>> > Thomas
>>
>> They both look potentially very useful and can do wonderful embedding of
>> tabulated data frames and graphics to judge form the help page for R2wd
>> and that works on my set up.  However, I'm crash R2wd and hange R
>> passing lm output with:
>>        lm.D9 <- lm(weight ~ group) # from the lm help page
>>        wdBody(lm.D9)
>>
>> I'll try to link up with whoever I should (Thomas, Christian?) to debug
>> this (and, of course, it may be particular to my set up) but I still
>> argue there's a problem letting these output capabilities go to packages
>> and not putting them in the core:
>> a) it's easy for us not to know of them, I didn't know of R2wd nor ascii
>> for example,
>> b) surely to have provided really excellent graphic output in the core
>> is a bit incongruent with having even provided tabs for matrices and
>> tables?
>>
>> I'll pick up more in response to Max Kuhn's message.
>>
>> Very best,
>>
>> Chris
>>
>>
>>
>>
>> --
>> Chris Evans <chris at psyctc.org> Skype: chris-psyctc
>> Consultant Psychiatrist in Psychotherapy, Notts. PDD network;
>> Trust Research Governance Lead and Clinical Director, Psychological
>>  Therapies Directorate in Local Services, Nottinghamshire NHS Trust;
>> Professor, Psychotherapy, Nottingham University
>> *If I am writing from one of those roles, it will be clear. Otherwise*
>> *my views are my own and not representative of those institutions    *
>> If you have difficulty Emailing me on this address or getting a reply,
>> send again but cc to:       chris dot evans at nottshc dot nhs dot uk
>> and to:                     c dot evans at nottingham dot ac dot uk
>>
>> ______________________________________________
>> 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.
>>
>
>        [[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.
>



-- 

Max



More information about the R-help mailing list