[R-SIG-Mac] new raster image support in r-devel

Simon Urbanek simon.urbanek at r-project.org
Mon Dec 14 16:04:48 CET 2009


On Dec 13, 2009, at 21:47 , Paul Murrell wrote:

> Hi
>
> In the *development* version of R, there are two new functions,  
> grid.raster() and grid.cap(), in the 'grid' package, which draw (and  
> capture) raster (bitmap) images
> (see http://developer.r-project.org/Raster/raster-RFC.html)
>
> There has been a report that this is not working on the quartz()  
> device on MacOS X 10.5 (Leopard?), specifically i386-apple-darwin9.8.0
>
> The test is simply ...
>
> library(grid)
> quartz()
> grid.text("test")
> cap <- grid.cap()
> # Crash and burn
>

It works for me w/o problems:
Mac OS X 10.6.2 (10C540)
[R.app GUI 1.31 (5536) i386-apple-darwin9.8.0] (also directly)
R version 2.11.0 Under development (unstable) (2009-12-13 r50716)
i386-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets   
methods   base

(official Leopard build from r.research.att.com)

So if you can replicate this, please either a) get a full stack trace  
or b) specify exactly how you configure R, compilers, locale etc. Also  
make sure you don't have some old library with R packages around.

Cheers,
Simon


> If anyone has a system like this, and is happy to install the  
> development version of R on that system, I would appreciate a  
> confirmation of this problem.
>
> Thanks for any help
>
> Paul
> -- 
> Dr Paul Murrell
> Department of Statistics
> The University of Auckland
> Private Bag 92019
> Auckland
> New Zealand
> 64 9 3737599 x85392
> paul at stat.auckland.ac.nz
> http://www.stat.auckland.ac.nz/~paul/
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list