[R] how to have tkchooseDirectory resize in windows?

2009-10-13 Thread David Gattrell
R-2.8.0  / tcltk8.5
In windows, Rgui.exe has a directory browser that can be resized, but when I
call
tkchooseDirectory(), it is a fixed size.  In linux, when I call
tkchooseDirectory() it
can be resized.
How do I get a windows version that I can resize?

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] how to have tkchooseDirectory resize in windows?

2009-10-17 Thread Peter Dalgaard

David Gattrell wrote:

R-2.8.0  / tcltk8.5
In windows, Rgui.exe has a directory browser that can be resized, but when I
call
tkchooseDirectory(), it is a fixed size.  In linux, when I call
tkchooseDirectory() it
can be resized.
How do I get a windows version that I can resize?


You're at the mercy of Tcl/Tk itself here, and in turn they are at the 
mercy of Microsoft and back compatibility issues. (I.e. Windows itself 
has had a new-style dialog for a while, but Tk hasn't been setting the 
appropriate flag.)


Judging by the thread at

http://www.rhinocerus.net/forum/lang-tcl/556193-modernizing-windows-tk_choosedirectory-dialog.html

a modernized Windows tk_chooseDirectory is going into Tcl/Tk 8.5.8.

--
   O__   Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - (p.dalga...@biostat.ku.dk)  FAX: (+45) 35327907

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.