Good idea. Done.
-G
> -----Original Message-----
> From: Martin Maechler [mailto:maechler at stat.math.ethz.ch]
> Sent: Wednesday, January 18, 2006 4:02 AM
> To: Warnes, Gregory R
> Cc: Andrew Piskorski; R Development Mailing List
> Subject: Re: [Rd] natural sorting
>
>
> >>>>> "Greg" == Warnes, Gregory R
<gregory.r.warnes at pfizer.com>
> >>>>> on Tue, 17 Jan 2006 14:48:46 -0500 writes:
>
> Greg> The 'mixedsort' function in the 'gtools'
package does
> Greg> this. It is probably slower than the c version you
> Greg> point to, but it is already working in R.
>
> Thank you, Greg.
>
> BTW, given the thread, this is a typical example where it might
> be very useful to add the following two concepts to the
> mixedsort.Rd file in gtools :
>
> \concept{natural sort}
> \concept{dictionary sort}
>
> so that mixedsort() will be quickly found by
> help.search("natural sort")
> and possibly also via the java search from the HTML help interface?
> (I never use it; I use help.search() {or then RSiteSearch()}
> exclusively.)
>
> Martin
>
>
> >> -----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/
>
>
----------------------------------------------------------------------
LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}