Currently list2env(list()) throws an error, apparently because names(list()) is not a character vector.
> E0 <- list2env(list())
Error in list2env(list()) :
names(x) must be a character vector of the same length as x
Would it break things if this did the same as a zero-long list with a zero-long character names vector?
> E1 <- list2env( structure(list(), names=character()) )
> objects(E1, all=TRUE)
Looks like this is now supported, as of R version 3.1.2, so this can be closed?
Created attachment 2331 [details]
patch for doc/NEWS.Rd
Thank you, Benjamin!
You are right, and I will update NEWS.Rd according to your patch (when I update it anyway).