Skip to content
Prev 440 / 63424 Next

R-alpha: yet another remaining buglet

This was originally
### 2)  names(x)[1] <- "a"  still gives extraneous doublequotes IN the name

x <- list()
x[[1]] <- 23
names(x)[1] <- "a"
x  #----------------- got the quotes, also !!
##- $"a"
##- [1] 23
unlist(x)
##- \"a\"
##-    23
names(x) #> [1] "\"a\""


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-