[R] trellis.graphic in for-loop

Deepayan Sarkar deepayan at stat.wisc.edu
Fri Apr 4 21:26:05 CEST 2003


On Friday 04 April 2003 12:04 am, Alexander.Herr at csiro.au wrote:
> Hi list,
>
> I am unsuccessfully trying to produce a serious of trellis barcharts from
> within a for-loop. The barcharts work outside the loop. What am I missing?

An explicit print() outside the barchart call. The result of barchart is a 
"trellis" object, which needs to be printed for anything to be plotted.

Deepayan



More information about the R-help mailing list