ML_for_Hackers icon indicating copy to clipboard operation
ML_for_Hackers copied to clipboard

Chapter 12 libraries

Open DanBuchan opened this issue 13 years ago • 2 comments

The SVM examples require you to load library('e1071') but this library is not in the list of packages in chapter 1 table 1-2. I only noticed as I'd installed the packages by hand from that table rather than using the install script provided.

Alos, chapter 12 uses the melt() function but library('reshape') isn't mentioned in either that chapter text nor is it loaded at the head of the chapter12.R script.

DanBuchan avatar Jun 05 '12 12:06 DanBuchan

Thanks for such thorough comments, Dan! I'll fix the library installation script.

We should have just given readers our ~/.Rprofile, which loads all the Hadley packages like ggplot2, plyr and reshape by default for every R session.

johnmyleswhite avatar Jun 05 '12 14:06 johnmyleswhite

Not a problem. I thought the book was really great so I figured it would be good to give something back in exchange.

DanBuchan avatar Jun 06 '12 23:06 DanBuchan