>>>>> "Greg" == Warnes, Gregory R <[EMAIL PROTECTED]>
>>>>>     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: [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

Reply via email to