[Rd] typo in help(names)? (PR#6594)

weigand at mayo.edu weigand at mayo.edu
Tue Feb 17 16:24:38 MET 2004

Full_Name: Stephen Weigand
Version: 1.8.1
OS: solaris2.8
Submission from: (NULL) (

There may be typo in the 'help(names)' documentation.

R> version
platform sparc-sun-solaris2.8
arch     sparc               
os       solaris2.8          
system   sparc, solaris2.8   
major    1                   
minor    8.1                 
year     2003                
month    11                  
day      21                  
language R       

R> help(names)

... [lines deleted]


... [lines deleted]

     ## assign just one name
     z <- 1:3
     # change just the name of the third element.
     names(z)[2] <- "b"

Should the second comment read "... second element."
rather than "... third element."?

More information about the R-devel mailing list