[R] stopifnot with logical(0)

Duncan Murdoch murdoch.duncan at gmail.com
Sat Dec 12 15:05:04 CET 2015

On 12/12/2015 8:44 AM, peter dalgaard wrote:
>> On 12 Dec 2015, at 10:54 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>> My conclusion: Breaking such a fundamental lemma of logic as
>>   "the empty set is always true"
> Umm, that doesn't make sense to me. Surely you mean that "an AND-operation over an empty index set is TRUE"? A similar OR operation is FALSE, i.e. they behave like empty products and sums, respectively.

How about "the empty set is all true, and all false."

More information about the R-help mailing list