[Rd] bug in rank(), order(), is.unsorted() on character vector

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Wed Dec 7 11:17:24 CET 2011


2011/12/7 Hervé Pagès <hpages at fhcrc.org>:
> rank(xa)

See help(Comparison), specifically:

"Beware of making _any_ assumptions about the
     collation order" followed by "Collation of
     non-letters (spaces, punctuation signs, hyphens, fractions and so
     on) is even more problematic."

Barry



More information about the R-devel mailing list