Skip to content
Prev 275069 / 398506 Next

windows limits

On 21/10/2011 9:36 AM, Ben qant wrote:
This doesn't affect your question, but you shouldn't be using xpinch and 
ypinch for this:  they describe the "pixels per inch".  You should be 
using width and height.

The real problem is that you aren't allowed to open windows that are 
more than 85% of the available size in either direction.  This is 
documented in ?windows.  I don't know the reason for this restriction, 
but it may be so that you can't inadvertantly lose the controls on the 
window (something that happens in rgl in your example code).

You can manually resize the window after creating it (using the mouse); 
you could write a function to do that if you know Windows API 
programming, but I don't believe there's one in base R.

Duncan Murdoch