Re: [R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1 on windows 7

2011-02-02 Thread Prof Brian Ripley
'Strange' to have no response on this. Can a knowledgeable Danish writer please confirm that this is how the OSes are supposed to handle Danish collation? On Mon, 24 Jan 2011, Prof Brian Ripley wrote: On Mon, 24 Jan 2011, Søren Højsgaard wrote: Dear list, Please consider the following

Re: [R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1 on windows 7

2011-02-02 Thread Søren Højsgaard
?? Regards Søren Højsgaard -Oprindelig meddelelse- Fra: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sendt: 2. februar 2011 13:21 Til: Søren Højsgaard Cc: r-h...@stat.math.ethz.ch Emne: Re: [R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1 on windows 7 'Strange

Re: [R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1 on windows 7

2011-02-02 Thread Prof Brian Ripley
aarhus in its examples. Regards Søren Højsgaard -Oprindelig meddelelse- Fra: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sendt: 2. februar 2011 13:21 Til: Søren Højsgaard Cc: r-h...@stat.math.ethz.ch Emne: Re: [R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1

[R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1 on windows 7

2011-01-24 Thread Søren Højsgaard
Dear list, Please consider the following call of sort sort(c(a,f)) [1] a f sort(c(f,a)) [1] a f sort(c(aa,ff)) [1] ff aa sort(c(ff,aa)) [1] ff aa The last two results look strange to me. Is that a bug??? The result seems to come from calls to order: order(c(a,f)) [1] 1 2 order(c(f,a))

Re: [R] Strange result from sort: sort(c(aa, ff)) gives ff aa with R.2.12.1 on windows 7

2011-01-24 Thread Prof Brian Ripley
On Mon, 24 Jan 2011, Søren Højsgaard wrote: Dear list, Please consider the following call of sort sort(c(a,f)) [1] a f sort(c(f,a)) [1] a f sort(c(aa,ff)) [1] ff aa sort(c(ff,aa)) [1] ff aa The last two results look strange to me. Is that a bug??? It seems that you and your OS