From gregory.r.warnes at pfizer.com  Tue Jan 17 20:48:46 2006
From: gregory.r.warnes at pfizer.com (Warnes, Gregory R)
Date: Tue, 17 Jan 2006 14:48:46 -0500
Subject: [Rd] natural sorting
Message-ID: <915D2D65A9986440A277AC5C98AA466F018637D8@groamrexm02.amer.pfizer.com>

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: r-devel-bounces at r-project.org
> [mailto:r-devel-bounces at r-project.org]On 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 <atp at piskorski.com>
> http://www.piskorski.com/
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}



[Rd] natural sorting
Warnes, Gregory R