Closed berndbischl closed 7 years ago
Hmm, how do you want to realize this? How to name an empty list?
x = setNames(list(), character(0))
that is (unfortunately?) not the same as list()
in R you can create an empty list, which is a "named list". look at both objects with str()
and:
for names(list()) the result is NULL, for the code in the 1st line it is char(0)
@jakob-r already fixed this, i clarified docs
currently it simply creates list() but not namedList