[R] Windows BMPs: Why grey background? How to display BMP in R?

Duncan Murdoch murdoch at stats.uwo.ca
Tue Feb 8 20:29:24 CET 2005


On Tue, 8 Feb 2005 11:35:22 -0600, "Earl F. Glynn"
<efg at stowers-institute.org> wrote :

>"white" is supposed to be the default background for BMPs (according to
>?bmp) but it doesn't work
>
>
>
>> bmp("test.bmp", bg="white")
>
>> plot(0)
>
>> dev.off()
>
># results in grey background

In what version of R?  I just tried in 2.01 and R-patched, and it was
fine.  Maybe the problem is your viewer?

Duncan Murdoch




More information about the R-help mailing list