Hi Jeremy,

1) This is not the command to use on data.frames, it is: wdTable
2) There is a slightly newer version of R2wd, that (for now) can only be
downloaded here:
http://www.r-statistics.com/2010/05/exporting-r-output-to-ms-word-with-r2wd-an-example-session/
(That posts also offers a step by step on R2wd)

Cheers,
Tal



----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Sat, May 15, 2010 at 8:46 AM, Jeremy Miles <jeremy.miles@gmail.com>wrote:

> Hi All,
>
> I'm trying to use R2wd to send a dataframe to Word.  The dataframe
> isn't huge - 300 rows, 12 variables, although it has some long strings
> in it.
>
> Using:
>
> wdTable(format(myDataFrame))
>
> or
>
> wdTable(myDataFrame)
>
> Produces a very complex table, which Word struggles to process and
> layout.  (I can't work out what the table is - it seems to be nested
> tables. Converting to text gives one long column.)
>
> Using
>
> wdBody(MyDataFrame)
>
> or
>
> wdNormal(MyDataFrame)
>
> Is there another way to use R2wd to send the dataframe to word?
>
> Thanks (in advance)
>
> Jeremy
>
>
>
>
> --
> Jeremy Miles
> Psychology Research Methods Wiki: www.researchmethodsinpsychology.com
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

