Hi,

I am wondering if there is an option to control how R sort characters on different machines.

For example, on my Mac OS X

> sort(c("H", "a"), decreasing = TRUE)
[1] "a" "H"

The same command on a Linux machine gives me
> sort(c("H", "a"), decreasing = TRUE)
[1] "H" "a"

I don't know if there is an option to control the behavior of 'sort'.

Thanks,
Wen

______________________________________________
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.

Reply via email to