[R] odfWeave and XML... on a Mac
Max Kuhn
mxkuhn at gmail.com
Mon Dec 1 21:51:13 CET 2008
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)
@
More information about the R-help
mailing list