Pretty obvious: You use different locales (collate). What happens if you use
the same on both machines?

Cheers
Joris

On Fri, May 28, 2010 at 10:17 AM, carslaw <david.carslaw@kcl.ac.uk> wrote:

>
> Dear R users,
>
> I'm a bit perplexed with the effect sort has here, as it is different on
> ...
>  the linux order is perhaps more intuitive.  However, the problem is the
> order is inconsistent between
>  the two systems.  Any suggestions?
>
> sessionInfo()
> R version 2.11.0 (2010-04-22)
> x86_64-pc-linux-gnu
>
> locale:
>  [1] LC_CTYPE=en_GB.utf8          LC_NUMERIC=C
>  [3] LC_TIME=en_GB.utf8           LC_COLLATE=en_GB.utf8
>  [5] LC_MONETARY=en_GB.utf8       LC_MESSAGES=en_GB.utf8
>  [7] LC_PAPER=en_GB.utf8          LC_NAME=en_GB.utf8
>  [9] LC_ADDRESS=en_GB.utf8        LC_TELEPHONE=en_GB.utf8
> [11] LC_MEASUREMENT=en_GB.utf8    LC_IDENTIFICATION=en_GB.utf8
> ...
> > sessionInfo()
> R version 2.11.0 (2010-04-22)
> x86_64-pc-mingw32
>
> locale:
> [1] LC_COLLATE=English_United Kingdom.1252
> [2] LC_CTYPE=English_United Kingdom.1252
> [3] LC_MONETARY=English_United Kingdom.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=English_United Kingdom.1252
> ...
> Dr David Carslaw
> King's College London
> Environmental Research Group
> Franklin Wilkins Building
> 150 Stamford Street
> London
> SE1 9NH
> --
> View this message in context:
> http://r.789695.n4.nabble.com/difference-in-sort-order-linux-Windows-R-2-11-0-tp2234251p2234251.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joris Meys
Statistical Consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

Coupure Links 653
B-9000 Gent

tel : +32 9 264 59 87
Joris.Meys@Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

	[[alternative HTML version deleted]]

