naturalsort: Natural Ordering
Version 0.1.3

Provides functions related to human natural ordering. It handles adjacent digits in a character sequence as a number so that natural sort function arranges a character vector by their numbers, not digit characters. It is typically seen when operating systems lists file names. For example, a sequence a-1.png, a-2.png, a-10.png looks naturally ordered because 1 < 2 < 10 and natural sort algorithm arranges so whereas general sort algorithms arrange it into a-1.png, a-10.png, a-2.png owing to their third and fourth characters.

Package details

AuthorKosei Abe
Date of publication2016-08-30 12:48:28
MaintainerKosei Abe <mail@recyclebin.jp>
LicenseBSD_3_clause + file LICENSE
Version0.1.3
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("naturalsort")

Try the naturalsort package in your browser

Any scripts or data that you put into this service are public.

naturalsort documentation built on May 29, 2017, 6:53 p.m.