[R] Determining physical display dimensions

Liaw, Andy andy_liaw at merck.com
Fri Aug 19 19:55:14 CEST 2005


The screen devices are not platform independent, so I guess not.

The height and width arguments for windows() is in physical inches, and the
ypinch and xpinch specify pixels per inch, according to ?windows.

Andy

> From: Berton Gunter
> 
> Folks:
> 
> (Basically a non-R question).
> 
> Is there any (simple) OS independent way for (the latest 
> version of) R to
> determine the physical dimensions in pixels of the current 
> display device?
> 
> Failing that, (how) can this be done for Windows (XP or 2000, say) ?
> 
> Thanks.
> 
> -- Bert Gunter
> Genentech Non-Clinical Statistics
> South San Francisco, CA
>  
> "The business of the statistician is to catalyze the 
> scientific learning
> process."  - George E. P. Box
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 
>




More information about the R-help mailing list