Re: [R] the svDialogs package

2005-06-22 Thread Marco Zucchelli
Hello Philippe,

Thanks for the explanation!

  did you change the guidlgopen as well?

Now I get :

file - guiDlgOpen(title= Open case/control 
file,defaultFile=,defaultDir=,multi=FALSE, filters = c(All files 
(*.*), *.*))

gdata - read.table(file,as.is=T,header=T)

Error in file(file, r) : unable to open connection
In addition: Warning message:
cannot open file 'C:/ProgramFiles/R/Work/dcdc2.txt'


and the reason is that

 file
[1] C:/ProgramFiles/R/Work/dcdc2.txt

so the space between Program and Files has disappeared and the path is wrong

correct path would be C:/Program Files/R/Work/dcdc2.txt

Marco

- Original Message - 
From: Philippe Grosjean [EMAIL PROTECTED]
To: Marco Zucchelli [EMAIL PROTECTED]
Cc: R-help r-help@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: [EMAIL PROTECTED]
  ) ) ) ) )
 ( ( ( ( (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


Re: [R] the svDialogs package

2005-06-22 Thread Marco Zucchelli
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 [EMAIL PROTECTED]
To: Marco Zucchelli [EMAIL PROTECTED]
Cc: R-help r-help@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: [EMAIL PROTECTED]
  ) ) ) ) )
 ( ( ( ( (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


Re: [R] the svDialogs package

2005-06-09 Thread Philippe Grosjean
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: [EMAIL PROTECTED]
  ) ) ) ) )
( ( ( ( (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