> 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=""))
Dear R and odfWeave users,
I am looking for a way to automate generation of many reports using
odfWeave. All reports would use the same input ODT file, the only difference
would be in the name of the dataset which will be analyzed in any particular
report. Right now, the name of the dataset is har
4 matches
Mail list logo