This help topic is for R version 2.9.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/stats/html/clearNames.html
clearNames {stats}R Documentation

Remove the Names from an Object

Description

This function sets the names attribute of object to NULL and returns the object.

Usage

clearNames(object)

Arguments

object

an object that may have a names attribute

Value

An object similar to object but without names.

Author(s)

Douglas Bates and Saikat DebRoy

See Also

setNames

Examples

lapply( women, mean )               # has a names attribute
clearNames( lapply( women, mean ) ) # removes the names

[Package stats version 2.9.0 ]