Skip to content
Prev 44297 / 398506 Next

column names in matrix vs. data frame in R 1.8

On Mon, 9 Feb 2004 White.Denis at epamail.epa.gov wrote:

            
It's not inconsistent.  data.frame has an argument `check.names' to
control the behaviour on *creating* a data frame, and you didn't consult
the documentation.  Using the function names<- on the list underlying the
data frame does not know or care it is applied to a data frame.