How is the z <- “names<-”(z, “[<-”(names(z), 3, “c2”)) line in the names documentation read?

后端 未结 0 1191
渐次进展
渐次进展 2020-12-21 05:29

Referring to this example:

z <- list(a = 1, b = "c", c = 1:3)  
names(z)  
# change just the name of the third element.  
names(z)[3] <- "         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题