Perhaps not the shortest way, but ... ************************************************** R> x <- data.frame(x = 3:5, y = 5:7) R> rownames(x) <- 1:3 R> x x y 1 3 5 2 4 6 3 5 7 R> mode(x) <- "character" Segmentation fault ************************************************** -k =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel 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-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-