Skip to contents

A function to get or set the names of an object.

Usage

# S4 method for records
names(x)

# S4 method for rtoi
names(x)

# S4 method for rtoi,character
names(x) <- value

Arguments

x

a records or an rtoi object.

value

character argument. The new value for x.

Value

a character vector containing the name of all the names in x.

Examples

if (FALSE) {
# load example rtoi
file.copy(from=system.file("ex/Navarre",package="rsat"),
         to=tempdir(),
         recursive = TRUE)

navarre <- read_rtoi(file.path(tempdir(),"Navarre"))

names(navarre)
names(navarre) <- "New name"
names(navarre)

rcrds <- records(navarre)

names(rcrds)
}