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

Doesn't currently work with stable release of ggplot2 #13

Closed
jamieparkinson opened this issue Jul 22, 2015 · 1 comment
Closed

Doesn't currently work with stable release of ggplot2 #13

jamieparkinson opened this issue Jul 22, 2015 · 1 comment

Comments

@jamieparkinson
Copy link

If one has the current stable release (ie from CRAN) of ggplot2, then attempting to pass a gtable (returned by arrangeGrob) to ggsave gives an error ("plot should be a ggplot2 plot"). Not your problem per se but I guess it could be considered a regression and I thought I'd just let you know.

I imagine this can be fixed by "faking" the class of the gtable but I am not an R developer by any means. Thanks for the useful software!

@baptiste
Copy link
Owner

it works with the dev version of ggplot2, Hadley removed the class test in ggsave. Unfortunately it may be a little while before it gets to CRAN, in the meantime you could install ggplot2 from github.

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