On Tue, 17 Feb 2004 weigand at mayo.edu wrote: > > ## assign just one name > z <- 1:3 > names(z) > # change just the name of the third element. > names(z)[2] <- "b" > z > > Should the second comment read "... second element." > rather than "... third element."? > Yes. Or else [2] should read [3]. -thomas