> 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 repo
Sarah,
Thank you very much, this an easy solution that works very well!
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 I
I tend to do it the other way around.
Hard-code the station into the ODT file as "thisstation".
Then, in R, do something like this:
allstations <- c("station1", "station2", "station3")
for (i in allstations) {
thisstation <- i
odfWeave("inputfile.odt", paste("output-", i, ".odt", sep=""))
3 matches
Mail list logo