renkun-ken / rlist

A Toolbox for Non-Tabular Data Manipulation
Other
204 stars 28 forks source link

list.flatten fails to preserve names #90

Closed renkun-ken closed 10 years ago

renkun-ken commented 10 years ago
> list.flatten(list(a=c(1,2,3),b=list(x=1,y=list(z=1,z2=2))))
Error in names(y) <- names(items) : 
  'names' attribute [6] must be the same length as the vector [4]