From nilsson.henric at gmail.com  Sat Sep 15 15:33:14 2007
From: nilsson.henric at gmail.com (Henric Nilsson (Public))
Date: Sat, 15 Sep 2007 15:33:14 +0200
Subject: [Rd] R-2.6.0 for Windows, semi-transparent colours and layout()
Message-ID: <46EBDF1A.5030501@gmail.com>

Hi,

The added support for semi-transparent colours in `windows' under 
R-2.6.0 for Windows is much appreciated.

However, I've discovered that issuing a `layout' (or `par' with 
arguments `mfcol'/`mfrow') call and then trying to plot several figures 
with semi-transparent colour on the same page results in only the first 
one being fully drawn. E.g.

 > x <- rnorm(10000)
 > y <- rnorm(10000)
 >
 > layout(matrix(1:2, ncol = 2))
 > plot(y ~ x, pch = 16, col = rgb(1, 0, 0, 0.15))
 > plot(y ~ x, pch = 16, col = rgb(1, 0, 0, 0.15))

results in the second one having only the axes and box, but no data 
points. This is under

 > sessionInfo()
R version 2.6.0 alpha (2007-09-14 r42843)
i386-pc-mingw32

locale:
LC_COLLATE=Swedish_Sweden.1252;LC_CTYPE=Swedish_Sweden.1252;LC_MONETARY=Swedish_Sweden.1252;LC_NUMERIC=C;LC_TIME=Swedish_Sweden.1252

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


Henric



[Rd] R-2.6.0 for Windows, semi-transparent colours and layout()
Henric Nilsson (Public