[Rd] Floating point excepting when cbind()ing a matrix of grobs (or environments) with a 0-column matrix
hadley wickham
h.wickham at gmail.com
Mon Jan 19 16:18:06 CET 2009
library(grid)
e <- rectGrob()
# OR:
# e <- environment()
a <- matrix(list(e), ncol = 1, nrow = 2)
b <- matrix(ncol = 0, nrow = 2)
cbind(a, b)
cbind(a, b)
This reliably crashes R for me.
I realise this is a rather esoteric error condition, but it crops up
for me when creating matrices of grobs to be turned into a ggplot2
plot.
Hadley
--
http://had.co.nz/
More information about the R-devel
mailing list