Remove all NULL entries from a list. From plyr::compact().

compact(l)

Arguments

l

list