If I open the quartz device with height and width arguments that create a quartz window that fills the screen and partially lies off-screen, grid.cap captures only the portion visible on the screen. I'm reporting this hoping it can be fixed, but I imagine this is expected behavior. I wanted to set a large size to capture a high resolution of plotting.
plot(1:100, 1:100, type="l")
bitmapCopy = grid.cap()
I believe this is expected behaviour. Can you workaround by creating a (high-res) PNG file and then reading it back in ?
Yes, that's what I ended up doing. Thanks.