PJ, > 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 > tables.
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. Max ______________________________________________ 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.