[R-gui] Sliders and combo Boxes

Yihui Xie xie at yihui.name
Thu Sep 16 18:44:45 CEST 2010


For the second question, base R has a simple function select.list()
which allows you to do multiple selections.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Thu, Sep 16, 2010 at 10:47 AM, Hodgess, Erin <HodgessE at uhd.edu> wrote:
> Hi Wayne and Uwe:
>
> The rp.slider will be perfect.
>
> The rp.listbox will only let you select one option.  My ultimate goal is to have something that will let you select several options, if possible
>
> I've been looking in the Tcl/tk options.
>
> Thanks,
> Erin
>
>
> Erin M. Hodgess, PhD
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: hodgesse at uhd.edu
>
>
> ________________________________
>
> From: Wayne.W.Jones at shell.com [mailto:Wayne.W.Jones at shell.com]
> Sent: Thu 9/16/2010 3:11 AM
> To: ligges at statistik.tu-dortmund.de; Hodgess, Erin
> Cc: r-sig-gui at stat.math.ethz.ch
> Subject: RE: [R-gui] Sliders and combo Boxes
>
>
>
> Hi Erin,
>
> Why not have a look at the package rpanel.
>
> See the following examples in the package rpanel:
>
>>library(rpanel)
>>?rp.listbox
>>?rp.slider
>
> You could very easily modify the slider to display dates rather than a
> number from 1:100.
>
> Hope this helps,
>
> Wayne
>
>
> -----Original Message-----
> From: r-sig-gui-bounces at stat.math.ethz.ch
> [mailto:r-sig-gui-bounces at stat.math.ethz.ch] On Behalf Of Uwe Ligges
> Sent: 16 September 2010 08:48
> To: Hodgess, Erin
> Cc: r-sig-gui at stat.math.ethz.ch
> Subject: Re: [R-gui] Sliders and combo Boxes
>
>
>
> On 16.09.2010 07:45, Hodgess, Erin wrote:
>> Dear R GUI People:
>>
>> I have 2 questions please:
>> a. Is there a function for a slider that runs from a sequence of
> dates, rather than the usual 0 - 100, please?
>> b. Is there a combo box which allows for multiple selections, please?
> For instance, if you have a list of countries, then you could select
> several (or all) of the countries.
>
>
> Erin,
>
> which of the hundreds of GUI frameworks are we talking about?
>
>
> Uwe
>
>
>> Thanks in advance!
>> Sincerely,
>> Erin
>>
>>
>> Erin M. Hodgess, PhD
>> Associate Professor
>> Department of Computer and Mathematical Sciences
>> University of Houston - Downtown
>> mailto: hodgesse at uhd.edu
>>
>>
>>       [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-GUI mailing list
>> R-SIG-GUI at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-gui
>
> _______________________________________________
> R-SIG-GUI mailing list
> R-SIG-GUI at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-gui
>
>
>
>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-GUI mailing list
> R-SIG-GUI at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-gui
>



More information about the R-SIG-GUI mailing list