The R Munich user group likes Sweave. Here are 3 screenshots how to create a seamless R + Open Office integration (which works also for Word documents if you have installed the ODF converter plugin). First create your document
sweave.R
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 12: | # the document d:/roffice.odt needs some code like (please remove leading #)
# not interpreted text
# <<MyOutput,echo=TRUE>>=
# print(iris[1:10,])
# @
# not interpreted text
install.packages("odfWeave", dependencies=TRUE)
library(utils)
library(odfWeave)
odfWeave("d:/roffice.odt","d:/roffice_.odt")
|
the document

save it, open R and execute

Your document will then look like
