Skip to content

Dataframe to word, using R2wd

6 messages · Jeremy Miles, Tal Galili, Felipe Carrillo

#
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
#
Hi:
Just adding on to this question...Is it a way to add footnotes to tables with R2wd? I started using this nice package
about a month ago and is one of the things that I can't figure out yet..
?
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA



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



----------------Contact
Details:-------------------------------------------------------
Contact
Read me: > href="http://www.talgalili.com">www.talgalili.com (Hebrew) | > target="_blank"
----------------------------------------------------------------------------------------------




On
??? [[alternative HTML version
______________________________________________
PLEASE do read the posting
and provide commented,
#
?
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA



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



----------------Contact
Details:-------------------------------------------------------
Contact
Read me: > href="http://www.talgalili.com">www.talgalili.com (Hebrew) | > target="_blank"
----------------------------------------------------------------------------------------------




On
??? [[alternative HTML version
______________________________________________
PLEASE do read the posting
and provide commented,
#
Hi:
Just adding on to this question...Is it a way to add footnotes to tables with R2wd? I started using this nice package
about a month ago and is one of the things that I can't figure out yet..
?
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA

?
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA



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



----------------Contact
Details:-------------------------------------------------------
Contact
Read me: > href="http://www.talgalili.com">www.talgalili.com (Hebrew) | > target="_blank"
----------------------------------------------------------------------------------------------




On
??? [[alternative HTML version
______________________________________________
PLEASE do read the posting
and provide commented,