concept names() in category R
appears as: names()

This is an excerpt from Manning's book Exploring Data with R.
names() (The Names of an Object)
This output is easier to parse than simply printing the list object (like in Listing 9.1). In just a few lines we can see the hierarchy of the list and, importantly, get the names of the individual elements. Should you need just the names of the list components, we can use the names() function (Listing 9.3).
Listing 9.3. Getting the names of the list components with names()
```{r names_in_a_list} names(a_list) ``` #> [1] "a" "b" "c"