[R] Automate generation of multiple reports using odfWeave

Max Kuhn mxkuhn at gmail.com
Sun Feb 28 02:23:27 CET 2010

> On a more complicated note, is there a way to embed the station name in a
> header or footer of the document? It seems there is no way to evaluate a
> chunk or an inline \Sexpr{...} in a header or footer?
> This would put station ID on every report page, making reading & comparing
> multiple reports much easier. Right now, if reports are converted to PDF,
> they all have title "\Sexpr{listString(letters[1:5])}" making navigation
> between them very cumbersome. I could adjust the title in ODT, but again,
> cannot embed any variable into it. Is there a way to set the title from
> odfWeave?

I have a feeling that we took that functionality out at some point (I
think when we moved to only sweaving the content.xml file). The bit
with listString was a test that I used and it has remained in the



More information about the R-help mailing list