Re: [R] equivalent of windialog on unix??

2007-06-13 Thread Prof Brian Ripley
On Wed, 13 Jun 2007, BaKaLeGuM wrote: > this is the answer :) > > toto <- tkmessageBox(title = "Rcmdr", > message = "Do you want to install Rcmdr?", icon = "question", type = > "yesno") > if (as.character(toto)=="yes"){ > > it work on windows and unix (and i think mac) Only if you have tcl/tk i

Re: [R] equivalent of windialog on unix??

2007-06-13 Thread BaKaLeGuM
this is the answer :) toto <- tkmessageBox(title = "Rcmdr", message = "Do you want to install Rcmdr?", icon = "question", type = "yesno") if (as.character(toto)=="yes"){ it work on windows and unix (and i think mac) 2007/6/13, Prof Brian Ripley <[EMAIL PROTECTED]>: > > ?readline > > On Wed, 1

Re: [R] equivalent of windialog on unix??

2007-06-13 Thread Prof Brian Ripley
?readline On Wed, 13 Jun 2007, BaKaLeGuM wrote: > I have on a script something like this > " > > toto = winDialog("yesno", "Do you want to install the package") > if (toto=="YES"){ > > " > > but it dont work on unix because of the "winDialog" i think.. > > how can i do to change this for unix ple

[R] equivalent of windialog on unix??

2007-06-13 Thread BaKaLeGuM
I have on a script something like this " toto = winDialog("yesno", "Do you want to install the package") if (toto=="YES"){ " but it dont work on unix because of the "winDialog" i think.. how can i do to change this for unix please? best regards vincent [[alternative HTML version dele