Re: [R] R base package grid does not output raster image

2012-05-26 Thread Patrick Nicholson
"none", legend.title=theme_blank(), legend.background=theme_blank(), plot.margin=unit(0*c(-1.5, -1.5, -1.5, -1.5), "lines")) pdf("plot.pdf", height=7, width=7) p dev.off() From: Uwe Ligges [lig...@stat

[R] R base package grid does not output raster image

2012-05-24 Thread Patrick Nicholson
I am running 64-bit R 2.15.0 on a Windows Server 2008 R2 Amazon EC2 instance. grid does not produce output. For example, the following code should print the R logo to the window() device: library(grid) library(png) img.path <- system.file("img", "Rlogo.png", package="png") bg <- readPNG(img.pa