Created attachment 2116 [details]
Sample R code illustrating bug
grid.cap() returns a matrix of colors that are incorrect. In my example case, black colors are returned as "red" in the matrix.
Attachment shows the example given in ?grid.cap documentation. table(cap) shows that most common color is white (correct) and second most common is red (incorrect, should be black). Adding some more black to the device by writing a large black "X" and then repeating grid.cap() and table() shows that the "red" color count has increased.
My R is 3.3.1, not 3.3.0.
Can you please run something like ...
... and post the resulting PNG file, PLUS a screen capture (e.g., via alt-prtscn or however you do it on your system, other than with R) of the R graphics window ?
Created attachment 2128 [details]
Screen shot after running code in attached comment.
cap = grid.cap()
Created attachment 2129 [details]
.png file created by previous attachment's R code in comment
This .png file shows "hi" in red, whereas the screenshot attachment shows the window where the word "hi" is in black.
Oops, sorry, the .png file attachment has the incorrect name, it says bug-16987. However, it is the correct file and is the bitmap result for THIS bug, 16983.