Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
A-2? Figure A-5 |
Figure A-5 is the same as Figure A-4, but is supposed to have the Avalue and Bvalue properties swapped, as in Figure A2 (contrasted with A-1) Note from the Author or Editor: |
Steve Haddock | Jan 08, 2013 | Jul 12, 2013 | |
Printed, PDF, ePub | Page 4 sample code in the first paragraph of Solution |
'library(xslx)' should be 'library(xlsx)' |
Anonymous | Jun 28, 2015 | |
Page 22, 23, 24 ggplot code on each page |
The three code snippets draws the graphs as expected, but also produce a message concerning stat="bin" and stat="identity". Possibly the the code snippets need stat="identity". Note from the Author or Editor: |
Sandy Muspratt | Jan 10, 2013 | Jul 12, 2013 | |
Page 31 "Discussion" section |
Since the default width of position_dodge() is NULL (see http://svitsrv25.epfl.ch/R-doc/library/ggplot2/html/position_dodge.html), the whole discussion section on this page is incorrect. Note from the Author or Editor: |
Joseph | Apr 16, 2013 | Jul 12, 2013 | |
Page 34 3rd paragraph |
libary(plyr) # Needed for desc() Note from the Author or Editor: |
Surachart Opun | Jan 16, 2013 | Jul 12, 2013 | |
Page 37 code snippet under image & data |
There is: Note from the Author or Editor: |
Anonymous | Feb 01, 2013 | Jul 12, 2013 | |
Printed | Page 39 2nd sentence |
To prevent labels from being clipped, it says "See Recipe 8.4". But Recipe 8.4 is "Changing the order of items on a categorical axis", and I don't see a way to use this to prevent the labels being clipped a the border of the plot. Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Page 76 figure 5-4 |
On the left side there two lines. How they were created? Code in book didn't create them. Note from the Author or Editor: |
Anonymous | Feb 02, 2013 | Jul 12, 2013 | |
Printed | Page 82 3rd paragrph |
The code on page 82 cannot produce the Figure 5-10, I think the legend on the figure and the "fill = ageYear" are different, also I tried the second part of the code, changed the fill = ageYear to fill = weightLb, but cannot get the same legend as on the right graph on Figure 5-10. Note from the Author or Editor: |
Shu Guo | Mar 16, 2013 | Jul 12, 2013 |
Page 87 Figure 5-15 caption |
Typo: The word "shows" is used, but it should be "shown". |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Page 106 Last paragraph |
The word "either" is awkward here. |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Printed | Page 143-145 Figs 6-32 to 6-34 |
I think a figure got left out (maybe 6-32) and the next three or four figures were affected as a result. Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Printed | Page 217 Top graph |
Figure 9-5 is a *correct* duplicate to Figure 9-6 on page 217. Figure 9-6 has an error in the top left graph. Recipe 9.3. Using Themes generates a totally different graph than that of Figure 9-5. Figure 9-6 should be replaced with that of Figure 9-5, and the correct graph for Recipe 9.4. should replace that of Figure 9-5. Note from the Author or Editor: |
Brannon Walden | Feb 19, 2013 | Jul 12, 2013 |
Page 251 Solution: |
> ggplot(birthwt, aes(x=bwt)) + geom_histogram(fill="red"), colour="black" Note from the Author or Editor: |
Surachart Opun | Jan 16, 2013 | Jul 12, 2013 | |
Page 270 Last row, second column of table |
Typo: The text says "principle", but it should be "principal". |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Printed | Page 275 last paragraph |
In the sentence, "The first two rows of the data frame", I believe 'rows' should 'columns' Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Page 290 In Solution section |
Typo in capitalization. In two places, the text says "Postscript", but it should be "PostScript". (This is in the text; the code is correct.) |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Page 306 In See Also section |
Typo: The text says "?mosiacplot" but it should be "?mosaicplot". |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Page 309 Third paragraph, first example source code block. |
The example relies on the map_data() routine. The text does not state that this routine is provided by the ggplot2 package and not the maps package. Therefore, the examples will not work if the ggplot2 library is not loaded. Note from the Author or Editor: |
John Cardente | Mar 27, 2013 | Jul 12, 2013 | |
Printed | Page 317 Figure 13-37 |
Figure 13-37 looks like a duplication of Fig 13-36. The Assault scale is still on a finely grained continuum, not the five cuts that I think was intended. Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Printed | Page 319 2nd paragraph |
When the book was written, I bet it wasn't known that the next version would be 3.0, not 2.16 . Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Printed | Page 327 after 'Solution' |
In the sentence, "One method is to open the PDF graphics device with png()", the 'PDF' term should be replaced with 'PNG'. Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Page 356 Last full paragraph (below Fig 15-2) |
Change of wording. Instead of "unique", use "distinct". |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Page 361 First sentence of See Also section |
Typo. |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 | |
Printed | Page 362 first full block of code -on the last line |
where is 'sqrtn' defined? Is this supposed to be 'sqrt(n)'? Note from the Author or Editor: |
wibeasley | Jun 08, 2013 | Jul 12, 2013 |
Page 387 dendogram entry |
Typo: "dendogram" should be "dendrogram". |
Winston Chang |
Jul 08, 2013 | Jul 12, 2013 |