getPPI {imageUtilities} | R Documentation |
get the pixels per inch of a screen (may not work!, unix only for now)
getPPI(quietly = FALSE)
quietly |
whether to fail quietly if PPI cannot be determined, or throw an error. |
c(horizontal,vertical) PPI. NULL if not found.
This calls (on unix) xdpyinfo
and (on Windows)
wmic
– it is not at all guaranteed to work!
Other units: convertScreenUnits
,
getScreenResolution
, unitType