Re: [R-SIG-Mac] sort() under terminal

2015-10-12 Thread Rainer M Krug
Adrian Dușa writes: > Dear All, > > I tried to search some information about this on Google, but didn't find > anything yet. > There seems to be a difference between sorting in the Terminal app and > sorting in the Rgui: > > In the Terminal: Just a guess: Check the

Re: [R-SIG-Mac] sort() under terminal

2015-10-12 Thread Duncan Murdoch
On 12/10/2015 10:59 AM, Adrian Dușa wrote: > Dear All, > > I tried to search some information about this on Google, but didn't find > anything yet. > There seems to be a difference between sorting in the Terminal app and > sorting in the Rgui: > > In the Terminal: > >> sort(c("W", "e", "E")) >

Re: [R-SIG-Mac] sort() under terminal

2015-10-12 Thread THIOULOUSE JEAN
The difference is not between the Terminal and Rgui. Check your locale: in the Terminal, I get > sort(c("W", "e", "E")) [1] "e" "E" "W" > sessionInfo() R version 3.2.1 (2015-06-18) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.10.5 (Yosemite) locale: [1]

[R-SIG-Mac] sort() under terminal

2015-10-12 Thread Adrian Dușa
Dear All, I tried to search some information about this on Google, but didn't find anything yet. There seems to be a difference between sorting in the Terminal app and sorting in the Rgui: In the Terminal: > sort(c("W", "e", "E")) [1] "E" "W" "e" > R.version _ platform