[R] the svDialogs package

Marco Zucchelli marco.zucchelli at biosci.ki.se
Wed Jun 22 14:42:41 CEST 2005


Hello again,

 I am using the guidlglist

I noticed (on windows) that if you scroll the list by using the up and down 
arrows of the gui by clicking with the mouse, if you click twice fast the 
gui disappears and the value on top of the list is selected.

It is meant to be like that ?

Marco



----- Original Message ----- 
From: "Philippe Grosjean" <phgrosjean at sciviews.org>
To: "Marco Zucchelli" <marco.zucchelli at biosci.ki.se>
Cc: "R-help" <r-help at stat.math.ethz.ch>
Sent: Friday, June 10, 2005 7:36 AM
Subject: Re: [R] the svDialogs package


> Hello Marco,
>
> For the first error, the message is clear: "not implemented yet!".
> Several dialog boxes are not done yet, but the functions already exist,
> mainly as "placeholders" for future development.
>
> Regarding the second, there was a bug in the function (corrected in
> SciViews 0.8-6 that I have just uploaded to CRAN), and also a
> misunderstanding of the its first argument: "list". This argument should
> be a charactger vector containing the list of items... but not a list!
> So, the correct code is:
>
> > m_list <- 1:10
> > res <- guiDlgList(m_list) # Need SciViews 0.8-6!
> > res
>
> Note that guiDlgXXX() functions return results _invisibly_. So, you need
> to assign its result to a variable, or use something like:
>
> > (guiDlgList(m_list))
>
> to see the result printed at the console.
>
> Best,
>
> Philippe
>
> ..............................................<°}))><........
>  ) ) ) ) )
> ( ( ( ( (    Prof. Philippe Grosjean
>  ) ) ) ) )
> ( ( ( ( (    Numerical Ecology of Aquatic Systems
>  ) ) ) ) )   Mons-Hainaut University, Pentagone (3D08)
> ( ( ( ( (    Academie Universitaire Wallonie-Bruxelles
>  ) ) ) ) )   8, av du Champ de Mars, 7000 Mons, Belgium
> ( ( ( ( (
>  ) ) ) ) )   phone: + 32.65.37.34.97, fax: + 32.65.37.30.54
> ( ( ( ( (    email: Philippe.Grosjean at umh.ac.be
>  ) ) ) ) )
> ( ( ( ( (    web:   http://www.umh.ac.be/~econum
>  ) ) ) ) )          http://www.sciviews.org
> ( ( ( ( (
> ..............................................................
>
> Marco Zucchelli wrote:
>> Hi Philippe and R community,
>>
>>  I am trying to use some functions from the svDialogs package but I get 
>> some werid errors I do not understand:
>>
>>
>>>library(svDialogs)
>>
>>
>>>m_list <- as.list(1:10)
>>
>>
>>
>>>guiDlgDoubleList(m_list, m_list)
>>
>> Error in guiDlgDoubleList(m_list, m_list) :
>>         Not yet implemented!
>>
>>
>>
>>>guiDlgList(m_list)
>>
>> Error in guiDlgList(m_list) : couldn't find function "guiSetFonts.tcltk"
>>
>>
>>
>>
>> Am I doing anything wrong ?? Do I need some other package?
>>
>>
>>
>> Marco
>>
>>
>>
>>
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide! 
>> http://www.R-project.org/posting-guide.html
>>
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list