Skip to content
Prev 369807 / 398503 Next

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

I find that the str function is more helpful for understanding the difference between a null list and a list containing a null list than the implicit print function call that the interpreter invokes when you enter an expression at the console. 

str( mylist[1] )