[R] Scrollable Listbox?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Jun 9 11:48:50 CEST 2002

"Jess Mar" <jcm at maths.uq.edu.au> writes:

> Hi,
> Using the functions in the tcltk library (R1.5.0 Windows, tcltk v1.5.0),
> does anyone know a simple way to create a list box with a scroll bar? I'm
> stuck on what to supply to the -xscrollcommand in order to do this but I
> might be on the wrong track.
> Best wishes, Jess

Take a look at the tkfaq demo code which does the same thing for a
text widget. (You likely want yscrollcommand rather than x, btw).

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list