You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating an sf spatial data frame from a data table, and then running split on it using a column for the split results in either an error or the object being split by columns instead of rows.
Thanks. Not totally clear that it's our bug -- by inheriting from data.table, presumably they should abide by the same [ semantics.
But I think we can nevertheless accommodate this easily -- the issue (as pointed out on Twitter) is just that not providing j is not allowed in their method.
Creating an sf spatial data frame from a data table, and then running
split
on it using a column for the split results in either an error or the object being split by columns instead of rows.Example
Works fine if
d
is a data.frame:Related twitter thread here: https://twitter.com/michael_chirico/status/1512116488492048393?s=20&t=WSUB5c9_zI7suQNPjIFS6Q
#
Output of sessionInfo()
The text was updated successfully, but these errors were encountered: