[Rd] sort - Windows and Linux

Yohan Chalabi chalabi at phys.ethz.ch
Tue May 27 18:21:22 CEST 2008


Dear all,

While debugging a function I realized that 

sort(c(" 1", " 2", "10"))

do not give the same result on Windows and Linux. 

This is actually not surprising because white spaces are not handle in
the same manner on these two platforms. But I was wondering if this
behavior is also desired in R. 

regards,
Yohan Chalabi



More information about the R-devel mailing list