[R] Merge: sort=F not preserving order?

Bart Joosen bartjoosen at hotmail.com
Thu Jan 28 09:47:05 CET 2010


You could add an extra sequence on the dataframe you wish to sort on.
Merge together, sort by the sequence, delete the sequence.
It's a bit more work, but it will give you what you want.

Bart
-- 
View this message in context: http://n4.nabble.com/Merge-sort-F-not-preserving-order-tp1312234p1340790.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list