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.

Documentation

Manual: naturalsort.pdf
Vignette: None available.

Maintainer: Kosei Abe <mail at recyclebin.jp>

Author(s): Kosei Abe

Install package and any missing dependencies by running this line in your R console:

install.packages("naturalsort")

Depends
Imports
Suggests testthat
Enhances
Linking to
Reverse
depends
Reverse
imports
castor, corehunter, james.analysis
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package naturalsort
Materials
URL
Task Views
Version 0.1.3
Published 2016-08-30
License BSD_3_clause + file LICENSE
BugReports https://github.com/kos59125/naturalsort/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks naturalsort check results
Package source naturalsort_0.1.3.tar.gz