Skip to content
Prev 21632 / 63424 Next

Warning when indexing data.frame with FALSE

NULL data frame with 0 rows
Warning in is.na(nm) : is.na() applied to non-(list or vector)
NULL data frame with 0 rows
Warning in is.na(nm) : is.na() applied to non-(list or vector)
NULL data frame with 0 rows

Is this a bug?  I wouldn't have expected the warning in the last two cases.

Regards,

Hadley