[R] Cross Tables with odfTable in odfweave
mxkuhn at gmail.com
Mon Mar 9 14:36:50 CET 2009
> If I use odfweave, the odfweave function produces an output file, but the
> for loop produces no tables. If I use R2HTML with similar code, I just get
> the last table the for loop produces. Here is a look at the code of
> odfweave, which seems to be correct with syntax but doesn't produce any
odfTable produces an object that needs to be printed. At the command
line, if you type odfTable(MAT) it is implicitly calling print() to
show the results.
Inside a loop, you'll have to use print(odfTable(MAT)) to explicitly
print the results.
More information about the R-help