The 'mixedsort' function in the 'gtools' package does this. It is probably
slower than the c version you point to, but it is already working in R.
-G
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew Piskorski
Sent: Thursday, January 12, 2006 10:40 AM
To: R Development Mailing List
Subject: Re: [Rd] natural sorting
On Wed, Jan 11, 2006 at 05:45:10PM -0500, Gabor Grothendieck wrote:
It would be nifty to incorporate this into R or into an R package:
http://sourcefrog.net/projects/natsort/
Btw, I haven't looked at the implementation, but Tcl also contains
equivalent functionality, they call it dictionary sort:
http://tcl.activestate.com/man/tcl8.4/TclCmd/lsort.htm
--
Andrew Piskorski [EMAIL PROTECTED]
http://www.piskorski.com/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
--
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel