Skip to content
Prev 19742 / 63421 Next

possible bug: NULL equality in lists.

Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
But consistent with vectorizing a list using unlist:

unlist(list(NULL, NULL, "a"))
[1] "a"
In the case of NA, I think converting to "NA" should be a last
resort.  Since NA is a perfectly valid element of a character vector,
it would seem to be a better choice.