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

Changing interval yields error #24

Closed
ronammar opened this issue Dec 7, 2016 · 1 comment
Closed

Changing interval yields error #24

ronammar opened this issue Dec 7, 2016 · 1 comment

Comments

@ronammar
Copy link

ronammar commented Dec 7, 2016

Any idea why I am getting the following error? Thanks!

From the code example in the README:

library(gapminder)
library(ggplot2)
theme_set(theme_bw())

p <- ggplot(gapminder, aes(gdpPercap, lifeExp, size = pop, color = continent, frame = year)) +
  geom_point() +
  scale_x_log10()

library(gganimate)

gganimate(p)  # works

The following then throws an error:

gganimate(p, interval = .2)
# Error in check.options(new, name.opt = ".X11.Options", envir = .X11env) : 
#  invalid argument name ‘interval’ in 'grDevices::png(..., res = dpi, units = "in")'
@dgrtwo
Copy link
Collaborator

dgrtwo commented Jul 5, 2018

We are finishing a complete rewrite of gganimate undertaken by Thomas Pedersen, with massive breaking changes to the API (this will come with a version bump to 1.0.0; currently 0.9.9.9999). This fixes many existing bugs and installation difficulties, and offers a more intuitive grammar of graphics.

As a result I'm closing almost all open issues, since they aren't relevant to the new version (bug reports in particular no longer apply). I apologize for any inconvenience in updating your existing code, but the new version of gganimate will be well worth the effort.

  • If you are still interested in this issue and believe it is relevant to the new version of gganimate, you can reopen it!

  • If you'd like to continue using the old gganimate version (which we do not recommend, as it will not be maintained), you can install from this release using the following code:

    devtools::install_github("dgrtwo/gganimate", ref = "v0.1.1”)
    

@dgrtwo dgrtwo closed this as completed Jul 5, 2018
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

2 participants