[Rd] segfault with grid and null unit (PR#8014)

jp-www@dcs.gla.ac.uk jp-www at dcs.gla.ac.uk
Wed Jul 20 01:23:19 CEST 2005


On 19 Jul 2005, at 23:49, paul murrell wrote:
>
> The issue is that you have specified a layout with three columns,  
> but only two
> column widths.  What should happen is that the widths should be  
> recycled, but
> this was not working for non-trivial units (as in your example).  I  
> have fixed
> this for R 2.2.0.  I have also added a mention of "null" units to ? 
> unit, plus a
> link to the existing mention in ?grid.layout

Thanks for the info, and also for the recent documentation on the  
grid package, which I have been devouring today.

I stumbled across that bug when I was copying (by hand) the "Adding  
lattice to grid" example from "grid.pdf" and mis-typed 3 instead of 2.

Jonathan



More information about the R-devel mailing list