Re: [R-SIG-Mac] sort() under terminal
Oh yes, that was it (thought it was something I missed). Thank you all, Adrian On Mon, Oct 12, 2015 at 6:58 PM, THIOULOUSE JEAN < jean.thioulo...@univ-lyon1.fr> wrote: > 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] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] adegraphics_1.0-4 RColorBrewer_1.1-2 sp_1.1-1 > KernSmooth_2.23-14 > [5] grid_3.2.1 ade4_1.7-2 lattice_0.20-31 > > Jean > > > > Le 12 oct. 2015 à 16:59, Adrian Dușa a écrit : > > > > 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 x86_64-apple-darwin13.4.0 > > arch x86_64 > > os darwin13.4.0 > > system x86_64, darwin13.4.0 > > status > > major 3 > > minor 2.2 > > year 2015 > > month 08 > > day14 > > svn rev69053 > > language R > > version.string R version 3.2.2 (2015-08-14) > > nickname Fire Safety > > > > > > > > In the Rgui: > > > >> sort(c("W", "e", "E")) > > [1] "e" "E" "W" > >> R.version > > _ > > platform x86_64-apple-darwin13.4.0 > > arch x86_64 > > os darwin13.4.0 > > system x86_64, darwin13.4.0 > > status > > major 3 > > minor 2.2 > > year 2015 > > month 08 > > day14 > > svn rev69053 > > language R > > version.string R version 3.2.2 (2015-08-14) > > nickname Fire Safety > > > > > > Could anyone point me to some information, please? > > Best wishes, > > Adrian > > > > > > -- > > Adrian Dusa > > University of Bucharest > > Romanian Social Data Archive > > Soseaua Panduri nr.90 > > 050663 Bucharest sector 5 > > Romania > > > > [[alternative HTML version deleted]] > > > > ___ > > R-SIG-Mac mailing list > > R-SIG-Mac@r-project.org > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > —- > Jean THIOULOUSE > http://lbbe.univ-lyon1.fr/-Thioulouse-Jean-.html > > > > -- Adrian Dusa University of Bucharest Romanian Social Data Archive Soseaua Panduri nr.90 050663 Bucharest sector 5 Romania [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] sort() under terminal
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] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] adegraphics_1.0-4 RColorBrewer_1.1-2 sp_1.1-1 KernSmooth_2.23-14 [5] grid_3.2.1 ade4_1.7-2 lattice_0.20-31 Jean > Le 12 oct. 2015 à 16:59, Adrian Dușa a écrit : > > 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 x86_64-apple-darwin13.4.0 > arch x86_64 > os darwin13.4.0 > system x86_64, darwin13.4.0 > status > major 3 > minor 2.2 > year 2015 > month 08 > day14 > svn rev69053 > language R > version.string R version 3.2.2 (2015-08-14) > nickname Fire Safety > > > > In the Rgui: > >> sort(c("W", "e", "E")) > [1] "e" "E" "W" >> R.version > _ > platform x86_64-apple-darwin13.4.0 > arch x86_64 > os darwin13.4.0 > system x86_64, darwin13.4.0 > status > major 3 > minor 2.2 > year 2015 > month 08 > day14 > svn rev69053 > language R > version.string R version 3.2.2 (2015-08-14) > nickname Fire Safety > > > Could anyone point me to some information, please? > Best wishes, > Adrian > > > -- > Adrian Dusa > University of Bucharest > Romanian Social Data Archive > Soseaua Panduri nr.90 > 050663 Bucharest sector 5 > Romania > > [[alternative HTML version deleted]] > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac —- Jean THIOULOUSE http://lbbe.univ-lyon1.fr/-Thioulouse-Jean-.html ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] sort() under terminal
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 sessionInfo(). Mine is: , | > sessionInfo() | R version 3.2.2 (2015-08-14) | Platform: x86_64-apple-darwin14.5.0 (64-bit) | Running under: OS X 10.11 (El Capitan) | | locale: | [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 | | attached base packages: | [1] stats graphics grDevices utils datasets methods base | > ` I guess it is the locale settings which are different? Cheers, Rainer > >> sort(c("W", "e", "E")) > [1] "E" "W" "e" >> R.version >_ > platform x86_64-apple-darwin13.4.0 > arch x86_64 > os darwin13.4.0 > system x86_64, darwin13.4.0 > status > major 3 > minor 2.2 > year 2015 > month 08 > day14 > svn rev69053 > language R > version.string R version 3.2.2 (2015-08-14) > nickname Fire Safety > > > > In the Rgui: > >> sort(c("W", "e", "E")) > [1] "e" "E" "W" >> R.version >_ > platform x86_64-apple-darwin13.4.0 > arch x86_64 > os darwin13.4.0 > system x86_64, darwin13.4.0 > status > major 3 > minor 2.2 > year 2015 > month 08 > day14 > svn rev69053 > language R > version.string R version 3.2.2 (2015-08-14) > nickname Fire Safety > > > Could anyone point me to some information, please? > Best wishes, > Adrian -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 signature.asc Description: PGP signature ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] sort() under terminal
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")) > [1] "E" "W" "e" >> R.version >_ > platform x86_64-apple-darwin13.4.0 > arch x86_64 > os darwin13.4.0 > system x86_64, darwin13.4.0 > status > major 3 > minor 2.2 > year 2015 > month 08 > day14 > svn rev69053 > language R > version.string R version 3.2.2 (2015-08-14) > nickname Fire Safety > > > > In the Rgui: > >> sort(c("W", "e", "E")) > [1] "e" "E" "W" >> R.version >_ > platform x86_64-apple-darwin13.4.0 > arch x86_64 > os darwin13.4.0 > system x86_64, darwin13.4.0 > status > major 3 > minor 2.2 > year 2015 > month 08 > day14 > svn rev69053 > language R > version.string R version 3.2.2 (2015-08-14) > nickname Fire Safety > > > Could anyone point me to some information, please? See the help page for sort, or the page it references, ?Comparison. Presumably you are running the two instances of R with different locale settings. Duncan Murdoch ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac