powered by
names
""
names2(x)
names2(letters) # It also takes care of standardising missing names: x <- set_names(1:3, c("a", NA, "b")) names2(x)
Run the code above in your browser using DataLab