[Rd] typo in hist.Rd (PR#9355)

deepayan.sarkar at gmail.com deepayan.sarkar at gmail.com
Fri Nov 10 22:17:45 CET 2006


'Freedman' is misspelled (as 'Friedman') in
src/library/graphics/man/hist.Rd. As a result, the help page currently
implies that

breaks = "Fried"

is a valid argument to hist, but results in an error:

> hist(rnorm(100), breaks = "Fried")
Error in match.arg(tolower(breaks), c("sturges", "fd", "freedman-diaconis",  :
        'arg' should be one of sturges, fd, freedman-diaconis, scott

> sessionInfo()
R version 2.5.0 Under development (unstable) (2006-11-06 r39797)
i686-pc-linux-gnu
...



More information about the R-devel mailing list