From p.dalgaard at biostat.ku.dk  Wed Aug 27 17:23:21 2003
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard BSA)
Date: Wed Aug 27 18:27:50 2003
Subject: [Rd] alpha-numeric order bug (PR#3996)
In-Reply-To: <200308271603.h7RG3JJH000163@pubhealth.ku.dk>
References: <200308271603.h7RG3JJH000163@pubhealth.ku.dk>
Message-ID: <x2he43hxxd.fsf@biostat.ku.dk>

kschlauc@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@biostat.ku.dk)             FAX: (+45) 35327907


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