[snip]
So, I think the evidence is pretty strong that unique(x) will always return elements in the same order as they first appear in x. But it would be nice if the documentation for 'unique' explicitly stated that this is the behavior for all methods. (It does state this for the array method for 'unique').
My mistake. The documentation for 'unique' does actually state this in the "VALUE" section, as Eryk points out.
-- Tony Plate
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel