Skip to content
Prev 66796 / 398525 Next

how i can get input from "user input"

On Thu, 31 Mar 2005, Martin Maechler wrote:

            
I don't think that a `big' drawback if you `want to go GUI', as GUI
conventions are so different between platforms (and tcltk being different
from the `native' one on each platform).  But we are beginning to attempt
to add platform-independent wrappers to GUI widgets.
To be a bit more specific,

menu() has a 'graphics' argument that uses a listbox on Windows, MacOS or
tcltk (where available).

select.list() works on all platforms, graphically as for
menu(graphics=TRUE), otherwise in text mode.

I intend to add a tcltk-based version of choose.files().  (One of the
problems with tcltk is that its widgets are OS-specific, and getting
select.list to choose a reasonable height tooks ages: there needs to a
fudge factor of 3 pixels/line on Unix and 1 pixel/line on Windows.)