search for: rastergrob

Displaying 4 results from an estimated 4 matches for "rastergrob".

2015 Nov 05
2
PDFs and SVGs containing rasterGrobs don't display correctly in some other software
...DF and got the same result. I also tried generating SVGs using both grDevices::svg and Cairo::CairoSVG, and also got the same result. I see the same thing using R-devel and R3.2.2 under Windows, and (with an older version of R) under Linux. I don't know whether the problem is with grid's rasterGrobs, or how R writes PDF and SVG files, or with Inkscape and Firefox's method of rendering those files, or with me. Please can you help me narrow it down. - Can you reproduce my problem? That is, when you run the above code, does the file look OK in a PDF reader but blurry in Inkscape? - Do you...
2009 Dec 01
6
raster support in graphics devices
Hi This is for developers of extension packages that provide extra *graphics devices* for R. In the *development* version of R, support has been added to the graphics engine for sending raster images (bitmaps) to a graphics device. This consists mainly of two new device functions: dev_Raster() and dev_Cap(). The R_GE_version constant (in GraphicsEngine.h) has been bumped up to 6 as a
2012 Mar 16
1
ggmap crash
...our='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")) 6: grid.draw.grob(x$children[[i]], recording = FALSE) 7: grid.draw(x$children[[i]], recording = FALSE) 8: drawGTree(x) 9: recordGraphics(drawG...
2012 Feb 14
4
Color cells of a matrix as in Excel
All, I frequently make spreadsheets in Excel in which I rank values in columns by stop-light colors (red is bad, yellow is OK, green is good). Image and heatmap expect a matrix in which all the data are in the same scale, but I frequently have different scales in different columns. ie. Column one runs from 1-10 while column 2 runs from 1-100. I thus need to define a separate color ramp for each