In case anyone has a similar issue, this problem was related to how
the results were being sent to the file.

The offending code chunk used:

<<moretest, results=xml, echo=false>>=
x<- 5
x
@

which writes out the text "5" without any XML around it. When OO opens
the document up, it ignores this text (instead of crashing) and shows
nothing.

This works fine:

<<moretest2, results=xml, echo=false>>=
x<- 5
odfCat(x)
@

______________________________________________
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.

Reply via email to