Skip to content
Prev 180165 / 398506 Next

where does the null come from?

Wacek Kusnierczyk wrote:
It comes from unlist()ing a list of NULLs, which in turn are the return
values of cat().

It is arguably a design-buglet not to return list(NULL, NULL), but the
internal logic is to unlist() unless the first element is.recursive (and
NULL is not) or the return values have different length() (and all are
zero). It _is_, however, in accordance with the documentation (see the
Value: section):