R in a Nutshell

Errata for R in a Nutshell

Submit your own errata for this product.


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
Printed, PDF
Page 168

[Emailed from a reader] While reading Chapter 11 Page 168. I found a minor error: con <- dbConnect("SQLite", dbname=system.file("extdata", "bb.db", package = "nutshell")). I couldn't establish the connection with that line. What I did was the following: con <- dbConnect("SQLite", dbname = system.file("extdata", "bb.db", package = "nutshell.bbdb")). Please let me know the proper channel to submit my suggestions in case I found others. Again thank you very much for this great book. Nico

Joseph Adler
O'Reilly AuthorO'Reilly Blogger 
Jan 08, 2013 
Printed
Page 249
first line of code block at bottom

if the file is .pdf, the function should be pdf(), if the file is .png, the function should be png() It reads like this in the printed version: png("~/Documents/book/current/figs/multiplefigs.1.pdf",

Note from the Author or Editor:
Yes, this is correct. It's better to match the command to the file type.

Jose I. Rey  Dec 26, 2012 
Printed
Page 333
box

Medicare Data in "R in a Nutshell, 2nd edition" p.333: according to the author the Medicare Data is included in the R-package "nutshell". I couldn't find it there. Maybe it exist in "nutshell" unter another name? Is it included or should it be downloaded and attached manually from the website?

Note from the Author or Editor:
Please see the previous errata; I have submitted a revised nutshell package to CRAN and hope that it will be available for download soon.

Anonymous  Oct 25, 2012 
Printed, PDF, ePub
Page 333
Box entitled 'Medicare data'

The box says that the data frames to be used are contained within the 'nutshell' package but trying the very first 'data' command listed on page 334 gives an error saying that 'outcome.of.care.measures.national' doesn't exist. Sure enough when we look at the manual pdf associated with the 'nutshell' package on cran we see that it was last updated on Jan 24'th of this year, and that the data.frames used in this chapter are not listed in the index. I thought then that there might be a 'nutshell2' library available but it didn't show up in a search. This is very disappointing. I got this book today because I was particularly interested in using R's graphics abilities and the *very first* example I try fails. Maybe I got unlucky and everything else will work perfectly, but it leaves a bad taste in the mouth. Will the update library be available soon ? Surely it should have been available at the time of publication ?

Note from the Author or Editor:
I've been having some trouble getting the updated nutshell packages posted on CRAN. (CRAN changed their rules and have imposed a limit on package sizes.) To deal with the problem, I've broken the nutshell package into three parts. Try downloading again soon (after 12/5/2012).

Anonymous  Nov 27, 2012