Re: [Rd] ask.yes.no() function

2017-04-20 Thread Duncan Murdoch
On 20/04/2017 9:13 AM, Dirk Eddelbuettel wrote: 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 | Not really as i) base R will not have dependencies o

Re: [Rd] ask.yes.no() function

2017-04-20 Thread Dirk Eddelbuettel
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 | Not really as i) base R will not have dependencies outside of it ii) more importantly, Duncan asked

Re: [Rd] ask.yes.no() function

2017-04-20 Thread Michael Sumner
Perhaps worth pointing out "yesno" as a candidate: https://CRAN.R-project.org/package=yesno Cheers, Mike On Wed, 19 Apr 2017 at 21:55 Duncan Murdoch wrote: As described in , R base functio

[Rd] ask.yes.no() function

2017-04-19 Thread Duncan Murdoch
As described in , 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 a