[Rd] ask.yes.no() function
Dirk Eddelbuettel
edd at debian.org
Thu Apr 20 15:13:16 CEST 2017
On 20 April 2017 at 09:33, Michael Sumner wrote:
| Perhaps worth pointing out "yesno" as a candidate:
|
| https://CRAN.R-project.org/package=yesno
| <https://cran.r-project.org/package=yesno>
Not really as
i) base R will not have dependencies outside of it
ii) more importantly, Duncan asked for a good example of a "consistent" (as
in: predictable) question function yet you submit one which by design
*varies* answers to be less predictable.
Dirk
| Cheers, Mike
|
|
|
| On Wed, 19 Apr 2017 at 21:55 Duncan Murdoch <murdoch.duncan at gmail.com>
| wrote:
|
| As described in
| <https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17242>, R base
| functions are currently inconsistent in asking interactive "yes/no" type
| questions. One solution to this is to have a function to do it, and to
| use it consistently.
|
|
|
|
| Rather than just writing such a function and possibly missing some
| desirable feature, I'd like to ask if anyone can point to an existing
| one that is perfect (or nearly perfect, and point out what changes would
| be desirable)?
|
| Duncan Murdoch
|
| ______________________________________________
| R-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel
| --
| Dr. Michael Sumner
| Software and Database Engineer
| Australian Antarctic Division
| 203 Channel Highway
| Kingston Tasmania 7050 Australia
|
| [[alternative HTML version deleted]]
|
| ______________________________________________
| R-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-devel
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-devel
mailing list