[R] Layout of windows devices

Duncan Murdoch dmurdoch at pair.com
Fri Jun 13 13:08:57 CEST 2003


On Fri, 13 Jun 2003 11:05:30 +0100, you wrote:

>Hi
> 
>Is there a way to specify the location on the screen where a new
>graphics device opens, for example with a call to win.graph()?
>I'm using R 1.7.0 on Windows XP.

There isn't currently, but it should be possible to add it.  The
window creation is done in src/gnuwin32/devga.c.  

However, the user interface doesn't look easy.  Windows machines can
have more than one monitor, so you'd want to be able to say which
monitor it would appear on, as well as where.  I think you'd want to
be able to query the monitor size to make the choice useful.  

Is this something that you'd be able to do a first pass through?  I'd
be happy to put it in if someone else did most of the work, but I've
got a lot of other things in the works, and this looks too
time-consuming for a relatively small payback.  After all, you can
manually move the window after it is created.

Duncan Murdoch




More information about the R-help mailing list