powered by
Create a Named List
named_list(nn = character(0L), init = NULL)
:: character() Names of new list.
character()
:: any All list elements are initialized to this value.
any
(named list()).
list()
# NOT RUN { named_list(c("a", "b")) named_list(c("a", "b"), init = 1) # }
Run the code above in your browser using DataLab