Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggplot 0.9.x warnings and errors #7

Open
DanBuchan opened this issue Jun 4, 2012 · 3 comments
Open

ggplot 0.9.x warnings and errors #7

DanBuchan opened this issue Jun 4, 2012 · 3 comments

Comments

@DanBuchan
Copy link

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))

@drewconway
Copy link
Collaborator

Great, thanks Dan! Are these changes backward compatible to older versions?

On Mon, Jun 4, 2012 at 10:39 AM, DanBuchan <
reply@reply.github.com

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:
#7

@DanBuchan
Copy link
Author

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.

@johnmyleswhite
Copy link
Owner

I think these changes are probably not backwards-compatible. The recent ggplot2 changes were breaking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants