Displaying 1 result from an estimated 1 matches for "exampleoutput2".
Did you mean:
exampleoutput
2011 Sep 15
1
odfWeave: Combining multiple output statements in a function
...ling this function in my odf-document only generates the
last list as only the output of the odfItemize function is returned by
exampleOutput. How do I combine the three results into one to be
returned by exampleOutput?
I tried to wrap the calls to the odf* functions into a print statement:
exampleOutput2 <- function() {
print(odfCat("This is the first paragraph"))
print(odfCat("This is the second paragraph"))
print(odfItemize(letters[1:5]))
}
In another document this seemed to work, but in my current document
strange odf-output is generated.
Regards,
Jan