Re: [R] how to set the position and size of the select.list window

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue 05 Jul 2005 - 20:46:42 EST

Uwe Ligges wrote:
> wu sz wrote:
>
>

>>Hello,
>>
>>I use "select.list" to obtain a window of select items, but how can I
>>set the position and size of this window?
>>
>>Are there any functions which are used to maximize and minimize the
>>window of R Console?

>
>
> You cannot fo windows from select.list and R console, AFAIK, but you can
> do for windows() devices using windows() and brintToTop(), for example.

That's a typo: it's bringToTop(). Another function which could be used to do this is getWindowsHandle, along with C level programming to the Windows API. I haven't looked into this, so it's possible the UI library we use will get confused, but it should be possible to send Windows messages to those handles.

We do have longstanding bugs with the maximized/minimized status being overridden by various reset commands. I tracked down some of these once, but didn't get all of them (and did introduce some new bugs). I don't have the energy to fix the rest.

Duncan Murdoch



R-help@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 Received on Tue Jul 05 21:02:02 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:13 EST