We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
ggsave produces error when saving in wmf or emf format Error in grDevices::win.metafile(...) : unused argument (bg = "white")
Save as PDF and PNG work as expected.
reprex:
library(tidyverse) e <- ggplot(mpg, aes(cty, hwy)) e + geom_point() ggsave("test.wmf") ggsave("test.emf")
Expected that my plot would save.
The text was updated successfully, but these errors were encountered:
Further troubleshooting: The following code generates a wmf file successfully:
library(tidyverse) e <- ggplot(mpg, aes(cty, hwy)) e <- e + geom_point() win.metafile("test.wmf") print(e) dev.off()
Sorry, something went wrong.
I don't have Windows machine right now, but it seems this is caused by the change of #4164.
resolved in ggplot 3.3.5
Thanks for confirming!
device
...
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
ggsave produces error when saving in wmf or emf format
Error in grDevices::win.metafile(...) : unused argument (bg = "white")
Save as PDF and PNG work as expected.
reprex:
Expected that my plot would save.
The text was updated successfully, but these errors were encountered: