[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) (129.176.151.124)


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   
status                       
major    1                   
minor    8.1                 
year     2003                
month    11                  
day      21                  
language R       


R> help(names)

... [lines deleted]

Examples:

... [lines deleted]

     ## 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."?



More information about the R-devel mailing list