[R] Sorting strings
statquant2
statquant at gmail.com
Mon Feb 20 16:27:00 CET 2012
Ok I have :
R) str(R.Version())
List of 13
$ platform : chr "x86_64-unknown-linux-gnu"
$ arch : chr "x86_64"
$ os : chr "linux-gnu"
$ system : chr "x86_64, linux-gnu"
$ status : chr ""
$ major : chr "2"
$ minor : chr "12.2"
$ year : chr "2011"
$ month : chr "02"
$ day : chr "25"
$ svn rev : chr "54585"
$ language : chr "R"
$ version.string: chr "R version 2.12.2 (2011-02-25)"
R) sort(c("X.","X0B"))
[1] "X." "X0B"
R) sort(c("X.Z","X0B.Z"))
[1] "X0B.Z" "X.Z"
I am using a linux redHat
$ uname -a
Linux 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64
x86_64 GNU/Linux
--
View this message in context: http://r.789695.n4.nabble.com/Sorting-strings-tp4403696p4404298.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list