Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
PDF, ePub | Page Section 4.4 Immediately under the heading, 4.4 |
Epub Section 4.4 Practice (or page 40 of PDF) reads as follows: |
Kurt Schulzke | Jan 16, 2018 |
ePub, | Page n/a text |
Current Copy |
Anonymous | May 04, 2022 |
ePub | Page text 726 |
Notes from Amazon |
Anonymous | Jul 14, 2022 |
ePub | Page text 12620, 3053, 12679 |
Notes from Amazon |
Anonymous | Jul 14, 2022 |
ePub | Page text 4618 |
Notes from Amazon |
Anonymous | Jul 14, 2022 |
ePub | Page text 10887 |
Notes from Amazon |
Anonymous | Jul 14, 2022 |
ePub | Page 1 Chapter 1 |
By default my python3 |
James Patrick Cruse | May 20, 2019 |
Printed | Page 4 4th paragraph |
This is not an error in the book but the authors said technical questions could be asked my emailing bookquestions@oreilly.com, which I did, and got a message back to post here the issue that I'm having. |
Anonymous | Oct 04, 2022 |
Page 6 Second item in "Exercises" |
"mtcars" should be replaced by "mpg" |
Anonymous | Jul 26, 2017 | |
Printed | Page 10 2nd paragraph, 1st sentence |
Misplaced comma or missing verb. |
David Emerson Feit | Mar 24, 2018 |
Printed | Page 11 |
Page 11 last paragraph, line 5 . |
Vahid | Feb 10, 2018 |
Printed | Page 16 Figures |
Plots on Page 16 are not the intended graphs. |
Mathew Ling | Jan 13, 2017 |
Printed | Page 16 graphs and r code |
The R code at the bottom of the page does not generate the graphs. The code labeled "#right" should be "#left" and the code labeled #left generates a graph that was printed on an earlier page. |
Robert N. Bernard | Jan 31, 2017 |
Printed | Page 16 two figures |
In the printed version the two charts below the title 'Geometric objects' are not the ones described in the text. It should be a scatter plot (left) and the smoothed plot (right, only one smoothing line). |
Tinu Schneider | Feb 11, 2017 |
Printed | Page 16 Figure + last paragraph |
Plots are not output from code in last paragraph: |
Robbie Heremans | Feb 11, 2017 |
Printed | Page 16 |
On p. 16, under the title of Geometric Objects, there are two plots. At the bottom of the page are two lines of R code to describe/create them. The R code marked # left does not generate the graph on the left. The R code (the second line) marked # right generates that first graph. The graph on the right looks like it's the same as the graph on the next page. The first graph should look like the graph on p. 5. |
Venita Hagerty | Feb 22, 2017 |
Printed | Page 16 Graphics in Geometric Objects section |
The graphic under Geometric Objects section is wrong in the printed version (1st edition, 2nd release) |
Jordi Carbó | Sep 05, 2017 |
Printed | Page 16 the two plots |
the two plots displayed are not those that the text refers to. The text refers to a point geom on the left and a smooth geom on the right. Both are smooth, one has three levels. Code at the bottom of the page generates simple point and smooth geom plots not the one on the right... |
Anonymous | Dec 01, 2021 |
Printed | Page 16 bottom |
In the fourth release, the code labeled "right" produces the graph on the left and the code labeled "left" produces the graph on page 5. The right figure on page 16 is produced by the code on page 17. |
Gary Rosenberg | Feb 04, 2022 |
Printed | Page 22 Immediately below the graph |
(Presumably) erroneous apostrophe before the word variable. |
David | Sep 28, 2018 |
Printed | Page 24 last paragraph |
"... haven't seen <- or tibble() before ..." |
Robert N. Bernard | Jan 31, 2017 |
Printed | Page 24 first block of code |
in the fourth release, the code at this point says "tribble" rather than "tibble". |
Gary Rosenberg | Feb 04, 2022 |
Printed | Page 25 code at bottom |
Using "fun.ymin", "fun.ymax" and "fun.y" succeeds, but returns an error message that they are deprecated. |
Gary Rosenberg | Feb 04, 2022 |
, Printed | Page 28 First bullet point |
The two plots showing the use of position = "identity" are missing. |
Sbusiso | Jan 31, 2017 |
Printed | Page 47 Last Paragraph |
The 7 Venn diagram graphics in the "Logical Operators" paragraph are not shaded at all, so they all look identical. They are all supposed to have unique shadings to indicate the 7 different Boolean operations. |
John Swicegood | Jan 26, 2017 |
Printed | Page 48 1st paragraph |
The code |
Federico Puglia | Aug 31, 2018 |
Page 60 1st glyph |
With ggplot2 version 3.2.1, an additional legend is produced for geom_smooth() relating to the alpha value (= 1/3 in the text). This legend was not shown on the glyph, but was produced following the code fragment just above the glyph on the PDF version. To shut this extraneous legend off, add the line "+ scale_alpha(guide = FALSE)" within the ggplot call. This is more of a note than a mistake. |
Gerry Ho | Feb 02, 2020 | |
Printed | Page 100 First plot on the page |
On page 100, the plot shown is not the correct one as the plot created before is called again (reorder(class, hwy,FUN = median) and the correct plot should show the geom_count graph. |
Sbusiso Mkhondwane | Feb 14, 2017 |
Printed | Page 100 Graphics in Two Categorical Variables |
The graphic under "Graphics in Two Categorical Variables" section is wrong in the printed version (1st edition, 2nd release). |
Jordi Carbó | Sep 05, 2017 |
Printed | Page 100 upper part |
On page 100, the plot shown is not the correct one as the plot created before (pag. 98) |
Simone | Apr 30, 2020 |
Printed | Page 100 Top of page |
Plot at top of the page is incorrect - it repeats previous graphic on page 98. |
Denise Howting | May 20, 2021 |
Printed | Page 100 Top |
Incorrect chart at top of page. Chart from page 98 has been duplicated here. A different type a chart required |
Amanda burke | Jan 20, 2023 |
Printed | Page 112 first bullet item |
Pressing the Cmd/Ctrl-Shift-F10 key restarts the background R session, not the full Rstudio GUI. |
James Winget | Mar 17, 2017 |
Other Digital Version | 130 Paragraph on number of parsers. |
In the Kindle version, the text reads, "There are eight particularly important parsers:" |
Steven Slezak | Dec 09, 2017 |
Printed | Page 132 Beginning of page |
The text uses the "parse_number()" function from the "readr" package. But the actual function name is (now) "parse_numeric". |
James Winget | Mar 17, 2017 |
Printed | Page 132 Third example of "parse_number()" |
The third example of "parse_number()" (which should be parse_numeric()) shows a final result of 123. The correct result is 123.45. |
James Winget | Mar 17, 2017 |
Printed | Page 151 Figure on top of p. 151 |
The years are repeated on the x-axis, with 1999 appearing twice and 2000 appearing three times. This behavior no longer appears as of dplyr 0.7.2 and ggplot2 2.2.1, but even now the default x-axis labeling could be improved by treating year as a factor or by explicitly labeling 1999 and 2000 on the x-axis. |
Eric Lawrence | Aug 17, 2017 |
Printed | Page 155 Figure 9-3 |
The heading of "table2" in Figure 9-3 shows "key" and "value." But these should really be "type" and "count". |
James Winget | Mar 20, 2017 |
Printed | Page 156 Exercise #3 |
"How could you add a new column..." should really be "How can you add a new row..." |
James Winget | Mar 20, 2017 |
Printed | Page 160 Figure 9-5 |
The result of the unite expression is shown with a heading "year" but the code snippets would yield a heading "new". |
James Winget | Mar 20, 2017 |
Printed | Page 175 6th paragraph |
"appears in the flights table" should be "appears in the planes table", in the sentence: |
Li Chao | Jun 24, 2019 |
Printed | Page 182 Venn Diagram |
The shading is missing from the Venn diagram making it somewhat less informative :-) |
James Winget | Mar 20, 2017 |
Printed | Page 184 Top |
“y4” is not present in the 2nd table. “y4” should be “y3” in joined figure and text output. |
Michelle White | Oct 11, 2021 |
Printed | Page 196 3rd paragraph |
"Beware that the printed representation of a string is not the same as [the] string itself, because the printed representation shows the escapes. To see the raw contents of the string, use writeLines():" |
Francis King | Apr 01, 2019 |
Printed | Page 200-221 throughout |
The shading in the book is virtually non-existent, so it's impossible to see the results of str_view() on the printed pages. |
Valerie Partridge | Mar 21, 2020 |
Printed | Page 212 Third block of text from the bottom |
The example of str_extract uses the highlighted block of text from str_view_all not from str_view. |
James Winget | Mar 20, 2017 |
Other Digital Version | 219 top of page (kindle version) |
phone <- regex( |
Steven Slezak | Dec 23, 2017 |
Other Digital Version | 224 top of page (kindle version) |
Line reads: "If you want a want an error..." |
Steven Slezak | Dec 24, 2017 |
Printed | Page 231 Just after first code block |
The example plots are missing that (would) show the value of "fct_reorder2()". |
James Winget | Mar 20, 2017 |
Printed | Page 231 1st block of code |
This code ... |
Anonymous | Jul 26, 2017 |
Printed | Page 246 Paragraph after "Rounding" |
The second sentence starts with "Each ceiling_date()function". In addition to the spacing problems, rather than ceiling_date() this perhaps should be "*_date()" to indicate a match to any of the three? |
James Winget | Mar 20, 2017 |
Printed | Page 270 Prerequisites section |
Technically, it should be "so you won't need to load any extra packages." |
James Winget | Mar 21, 2017 |
Printed | Page 288 Last sentence on page |
Suggests that "{" might have unexpected functional behavior but fails to provide an example. |
James Winget | Mar 21, 2017 |
Other Digital Version | 332 graphic (Kindle version) |
for sigma<- and mu<- objects, text uses "n = 5" but the graphic illustrating the idea uses "n = 10". |
Steven Slezak | Jan 01, 2018 |
Other Digital Version | 334 graphic (Kindle version) |
the graphic refers to an object called "params" but the object is called "param" in the text. On page 335 there is a similar problem. "Params" is used but I think they mean "param." It may not matter in this case. |
Steven Slezak | Jan 01, 2018 |
Other Digital Version | 380 bottom |
The code at the bottom of the page for "grid" is just wrong. Specifically, the ".model = mod_diamonds2" argument. A correction can be found here: https://github.com/tidyverse/modelr/issues/58 |
Steven Slezak | Jan 03, 2018 |
Page 442 Code for the plot |
In the book, the code for creating the plot is this one: |
Roberto Rezende de Assis | Oct 21, 2017 | |
Page 443 Code for the plot |
Minor error in the code for the plot: |
Roberto Rezende de Assis | Oct 21, 2017 | |
Printed | Page 460 After first full paragraph. |
The two graphs in the viridis example are not rendered in the text. |
Eric Lawrence | Aug 17, 2017 |
Other Digital Version | 469 middle (kindle version) |
the command |
Steven Slezak | Jan 06, 2018 |
ePub | Page 550 Geometric Objects Wickham, Hadley; Grolemund, Garrett. R for Data Science . O'Reilly Media. Kindle-Version. |
(550 is the position on my Kindle) |
Reiner Hutwelker | Dec 21, 2021 |
ePub | Page 9999 Section 'Creating Factors' after 6th code example. |
Existing text (duplicated 'want'): |
Alex Copeland | Dec 01, 2021 |
ePub | Page 9999 Chapter 13 'Dates and Times with lubridate', section 'Periods', code example 6 |
Existing code does not appear to change the arr_time as described (using R-4.1.2): |
Alex Copeland | Dec 01, 2021 |
Mobi | Page 12620 text |
Current Copy |
Anonymous | Jun 01, 2020 |