Learn R Programming

SpaDES (version 1.3.1)

sortDotsFirst: Sort a any named object with dotted names first

Description

Internal use only. This exists so Windows and Linux machines can have the same order after a sort.

Usage

sortDotsFirst(obj)

Arguments

obj

An arbitrary R object for which a names function returns a character vector.

Value

The same object as obj, but sorted with .objects first.