Skip to content
Prev 12267 / 398502 Next

Interpreting message: Error in names<-.default(*tmp*, value = cols):

David White wrote:
For example, when names are assigned to vectors:

 temp <- 1:10
 names(temp) <- "Hello"

Error in "names<-.default"(*tmp*, value = "Hello!") : 
        names attribute must be the same length as the vector


This might happen in very different cases, so you might want to make use
of debug() or traceback().

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._