Skip to content
Prev 369809 / 398503 Next

is.null(mylist[1]) and is.null(mylist$a) returns different values

By the way, NULL is not a "null list", it has class (and type and mode)
"NULL" not "list".   "NULL" is an odd class, in that it can have only one
instance and hence can never have any attributes.  "list" objects, like
other vector objects, may have length zero, but such objects are not the
same as NULL.

Bill Dunlap
TIBCO Software
wdunlap tibco.com

On Thu, Jun 15, 2017 at 8:56 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote: