Re: [Rd] Patch: fix segfault from empty raster

2013-09-23 Thread Paul Murrell
Hi Protecting against empty rasters seems like a good idea(!) Thanks for the report. Could you please try sending me your suggested patch directly? (it did not make it through via r-devel) Paul On 09/16/13 22:24, QRD wrote: Hi, A colleague recently came across an R crash, which I can boil do

[Rd] Patch: fix segfault from empty raster

2013-09-16 Thread QRD
Hi, A colleague recently came across an R crash, which I can boil down to the following, running under Rgui on Windows 7: library(ggplot2) ggplot(data.frame(x=1, y=1, z=4.7), aes(x, y, z=z)) + stat_summary2d() This reliably causes a segmentation fault. sessionInfo() below. What's happening is