title: Determine level of nesting in R?
body: <p>Is there an easy way (i.e. a function) to determine the level of nesting in list?
  I know there is <code>str</code> which can be used to get this information. But is there something that simply gives back the result? And can I use such a function to get the names of all levels of alist (recursively) ?  </p>