[R-SIG-Finance] iterations inside odfWeave

Eugene Tyurin etyurin at skipstonellc.com
Tue Jun 2 20:18:46 CEST 2009


I am writing a report using odfWeave, and I need to run a function
several times to produce several pages of charts.

Here's my best attempt - unfortunately it only produces one chart
instead of multiple:

<<fig3,echo=FALSE,fig=TRUE>>=
for( q in tickers_) {
	multi_graph(q,asofDate)
}

Is there a "right" way to do it?

Thanks!
-- Eugene.



More information about the R-SIG-Finance mailing list