[datatable-help] reorder data frame columns (not manually)

glaporta bioglp at gmail.com
Fri Mar 17 12:09:12 CET 2017


> If you've only got a single row like in your example, can you not transpose
it first and reorder the column on the transposed data.frame object?

Thank you Manabu, 
I can't transpose for my real project, but the solution is xxx[,order(xxx)]




--
View this message in context: http://r.789695.n4.nabble.com/reorder-data-frame-columns-not-manually-tp4729802p4729805.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list