views:

47

answers:

1

I am working in R, trying to export a dataframe to MS Word. I am using R2wd and would like a dataframe to export to MSWORD, and wrap a long string of text within a cell. Is that even possible?

Bare minimum at least pass a command from R to set the height of each row to fit the contents of the cell...

I don't see any demos or documentation but surely somebody must need to do that sometimes!

A: 

I'm not sure if this is exactly what you want, but you could export the data.frame to a .Rnw file with xtable, process it with Sweave, and then run the .tex file through latex2rtf. Unfortunately, latex2rtf does not format tables nicely . . .

nullglob