ggplot 0.9.x warnings and errors
For every ggplot() function call the "legend = FALSE" setting/parameter needs to be changed to guide="none"
Also when plotting figure 9-4 in chapter 9 the latest ggplot now requires that library(scales) be loaded and it means that the scale_size() needs to be changed from: scale_size(to=c(2,2)) to scale_size(range=c(2,2))
Great, thanks Dan! Are these changes backward compatible to older versions?
On Mon, Jun 4, 2012 at 10:39 AM, DanBuchan < [email protected]
wrote:
For every ggplot() function call the "legend = FALSE" setting/parameter needs to be changed to guide="none"
Also when plotting figure 9-4 in chapter 9 the latest ggplot now requires that library(scales) be loaded and it means that the scale_size() needs to be changed from: scale_size(to=c(2,2)) to scale_size(range=c(2,-2))
Reply to this email directly or view it on GitHub: https://github.com/johnmyleswhite/ML_for_Hackers/issues/7
I have no idea. My R-fu doesn't extend to understanding how to load older versions of R packages (I'll hand in my geek badge later)
What I did read suggested that scale handling in ggplot 0.9.x has been completely rewritten to require the scales package so I'd guess that such changes aren't backwards compatible. But I haven't actually checked so that may just be wild conjecture.
I think these changes are probably not backwards-compatible. The recent ggplot2 changes were breaking.