[R] the svDialogs package

Philippe Grosjean phgrosjean at sciviews.org
Fri Jun 10 07:36:23 CEST 2005


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
> 
>




More information about the R-help mailing list