Capture the current contents of a graphics device as a raster (bitmap) image.
This function is only implemented for on-screen graphics devices.
A matrix of R colour names, or
NULL if not available.
dev.capabilities to see if it is supported.
1 2 3 4 5 6 7 8