Skip to content
Back to formatted view

Raw Message

Message-ID: <6731304c0903090636i20b1cfb2m1b5a08d2a91abbc@mail.gmail.com>
Date: 2009-03-09T13:36:50Z
From: Max Kuhn
Subject: Cross Tables with odfTable in odfweave
In-Reply-To: <49B4B528.6040005@gmail.com>

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