[R] Base within reverses column order
chiefmurphy at gmail.com
Fri Apr 4 19:32:08 CEST 2014
I just noticed this annoyance, but I'm not the first one, apparently
-- see http://lists.r-forge.r-project.org/pipermail/datatable-help/2012-May/001176.html
The thread never answered the OP's question "Is this a bug?" so I
assume the answer, unfortunately, is No.
If not a bug, do users of within have a workaround to produce a result
with columns as ordered within 'within'? I can think of a way using
names and subset-with-select, but that seems unduly kludgy.
More information about the R-help