search for: exampleoutput

Displaying 1 result from an estimated 1 matches for "exampleoutput".

2011 Sep 15
1
odfWeave: Combining multiple output statements in a function
...odfCat, odfItemize, odfTable etc. inside a function? As an example lets say I have a function that needs to write two paragraphs of text and a list to the resulting odf-document (the real function has much more complex logic, but I don't think thats relevant). My first guess would be: exampleOutput <- function() { odfCat("This is the first paragraph") odfCat("This is the second paragraph") odfItemize(letters[1:5]) } However, calling this function in my odf-document only generates the last list as only the output of the odfItemize function is returned by...