Skip to content
Prev 348763 / 398500 Next

check a list that a sublist exists

Hello, Alaios,

try

is.null( Mylist[[i]]$parameters)

It returns TRUE if your list doesn't have a component named "parameters" 
or if that component contains NULL.

  HtH  --  Gerrit
On Tue, 3 Mar 2015, Alaios via R-help wrote: