[Rd] collation order

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sat Mar 18 00:02:29 CET 2006


Peter Dalgaard <p.dalgaard at biostat.ku.dk> writes:

> > Sys.setlocale(locale="C")
> [1] "C"
> > "Thomas  O'Malley" < "Thomas Lumley"
> [1] TRUE
> > Sys.setlocale(locale="en_US.UTF8")
> [1] "LC_CTYPE=en_US.UTF8;LC_NUMERIC=C;LC_TIME=en_US.UTF8;LC_COLLATE=en_US.UTF8;LC_MONETARY=en_US.UTF8;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"
> > "Thomas  O'Malley" <" Thomas Lumley"

Argh. The perils of beautifying code after the fact. The last line was
of course intended to read

"Thomas  O'Malley" < "Thomas Lumley"

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-devel mailing list