Unified handling of graphics devices

WWW: https://cran.r-project.org/package=R.devices
