[BioC] widgetTools library, checkButton function

John Zhang jzhang at jimmy.harvard.edu
Wed Feb 11 17:14:19 MET 2004

>In my R 1.8.1 version, there is a display problem with having multiple
>checkButtons in a widget. Checking one of the upper checkboxes changes the
>displayed value for one of the lower checkboxes at the same time, although
>the output values are correct. 

The bug has been fixed and reflected by the developmental version of widgetTools 
(1.2.3). The released version will be updated soon. Thanks.

>E <- new.env( hash= T, parent= parent.frame( 1 ) )
>check1 <- checkButton( wName= "check1", wValue= c( burger=T, fries= T ),
>wEnv= E )
>check2 <- checkButton( wName= "check2", wValue= c( coke= T, fanta= T ),
>wEnv= E )
>w <- widget( "This fails", list( food= list( check1= check1 ),
>    drink= list( check2= check2 ) ), env= E )
>( food <- w at pWidgets$food$check1 at wValue )
>( drink <- w at pWidgets$drink$check2 at wValue )
>Try selecting burger, fries and coke but not fanta. Can anyone suggest a
>Tom Price
>Wellcome Trust Centre for Human Genetics
>Telephone: 01865 287 608

Jianhua Zhang
Department of Biostatistics
Dana-Farber Cancer Institute
44 Binney Street
Boston, MA 02115-6084

More information about the Bioconductor mailing list