[R] Layout of windows devices

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 13 14:41:58 CEST 2003


Oh, I see now you want to do this differently for each instance of a
device. That would easy to add via arguments to windows(), as the
internal code is already there.

On Fri, 13 Jun 2003, David Khabie-Zeitoune wrote:

> Duncan -- thanks for your reply. As you point out -- this is more a
> "nice-to-have" and should not really be prioritised in any way. I
> currently run a lengthy statistical process in which intermediate
> results are continually output to many graph devices and I was wondering
> if there was an existing way to programatically tile the devices rather
> than do it manually each time. I would have been happy to use any
> existing functionality, but certainly do not think it is important
> enough to merit any development work. I think I will rewrite the output
> code to use just one (larger) graphics device which is tiled using
> layout() or split.screen() instead.
> 
> Thanks again
> David
> 
> 
> -----Original Message-----
> From: Duncan Murdoch [mailto:dmurdoch at pair.com] 
> Sent: 13 June 2003 12:09
> To: David Khabie-Zeitoune
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] Layout of windows devices
> 
> 
> 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
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list