As part of a larger problem (adding a ,makeUniqueIDs
argument to rbind.SpatialPolygonsDataFrame
for situations when the polygon IDs are identical), I'm running into this weird message from rbind:
> do.call("rbind",xd.small)
Error in match.names(clabs, names(xi)) :
names do not match previous names
The only other info I could find on this was this question, which leads me to believe that rbind
was at the root of the problem there also.
I can just write my own rbind-like function of course, but presumably this match.names
check occurs for a reason, and I'm curious what it is.
lapply(xd,names)
but didn't notice the numbers were different. – Etymon