[Rd] Grapics Device Resolution Limits

Dario Strbenac dstr7320 at uni.sydney.edu.au
Fri Feb 10 03:00:08 CET 2017


Good day,

Could the documentation of graphics devices give some explanation of how big the bitmap limits are? For example,

> png("Figure1A.png", h = 7, w = 7, res = 1000, units = "cm")

Results in Error: unable to start png() device, but the help page of devices doesn't explain that there are any limits or how they are determined. The wording of the error message could also be improved, to explain that the resolution is too high or the dimensions are too large.

> sessionInfo()
R version 3.3.2 Patched (2017-02-07 r72138)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 (build 7601) Service Pack 1

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia



More information about the R-devel mailing list