[Rd] alpha-numeric order bug (PR#3996)

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Aug 27 17:23:21 MEST 2003


kschlauc at vt.edu writes:

> I am running R version 1.7.1 on 3 different operating systems:
> Linux RedHat, Linux Slackware, and Windows 2000.

> > " 2" < "10"
> [1] FALSE
> > "23"<"-3"
> [1] TRUE
> 
> 
> Is this a RedHat problem or an R problem?

not R I think, but which RedHat?? I get

>  "23"<"-3"
[1] FALSE
>  " 2" < "10"
[1] TRUE

on RH8.0 with

$ locale
LANG=C
LC_CTYPE=da_DK
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list