[Rd] Ordering of values returned by unique

Tony Plate tplate at blackmesacapital.com
Wed Sep 29 18:37:19 CEST 2004

At Wednesday 10:09 AM 9/29/2004, I wrote:

>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

More information about the R-devel mailing list