search for: l_raster

Displaying 3 results from an estimated 3 matches for "l_raster".

2013 Sep 16
1
Patch: fix segfault from empty raster
...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 that (for reasons which I'll discuss with the ggplot2 developers) the 'colorbar' guide is being built with a zero-size source raster. In L_raster() (grid.c), this raster is not a "nativeRaster", so we do image = (unsigned int*) R_alloc(n, sizeof(unsigned int)); with n = 0, and R_alloc() gives us a NULL pointer. The display of this raster requests interpolation, so we end up in R_GE_rasterInterpolate(), where 'sraster'...
2010 Jan 16
1
"Too many raster images" in devPS.c
...ding raster images into plots on R devices very useful! Thanks to Paul Murrell and others for providing that. I noted that in https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c a macro is defined: #define MAX_RASTERS 64, and consequently, I get Error in grid.Call.graphics("L_raster", x$raster, x$x, x$y, x$width, x$height, : Too many raster images even for relatively innocent graphics, such as extensions of [2] (which I made with Bioconductor's "splots" package). Besides that, I imagine that raster images could be useful as 'glyphs' in variou...
2012 Mar 16
1
ggmap crash
...gt; ggplot(sites, aes(siteLon, siteLat)) + annotation_raster(h_raster, lonr[1], lonr[2], latr[1], latr[2]) + geom_point(aes(x=siteLon, y=siteLat), colour='red', data = sites) *** caught segfault *** address 0x196188000, cause 'memory not mapped' Traceback: 1: grid.Call.graphics(L_raster, x$raster, x$x, x$y, x$width, x$height, resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust), x$interpolate) 2: drawDetails.rastergrob(x, recording = FALSE) 3: drawDetails(x, recording = FALSE) 4: drawGrob(x) 5: recordGraphics(drawGrob(x), list(x = x), getNamespace("grid&qu...