Re: [R] the svDialogs package

From: Marco Zucchelli <marco.zucchelli_at_biosci.ki.se>
Date: Wed 22 Jun 2005 - 22:42:41 EST

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

> 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@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@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@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@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 Received on Wed Jun 22 22:45:12 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:56 EST