[R] Dataframe to word, using R2wd

Jeremy Miles jeremy.miles at gmail.com
Sat May 15 07:46:09 CEST 2010


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



More information about the R-help mailing list