-
Notifications
You must be signed in to change notification settings - Fork 2.1k
“Computation failed in stat_count()
when using loadRDS
#3745
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
Comments
Curious. I saw several people reported this error about |
There are a couple of things going on in your example that makes it hard to figure out if there are any problems in ggplot2 directly.
Can you try to fix your example up. run it from a clean session and confirm that the error message persists |
Ah, I too cannot reproduce the error... sorry |
@nick-youngblut Could you provide a reproducible example? Otherwise, we have no choice but to close this issue. |
Sorry for the lack of reproducibility. It seems that the underlying cause was due to using |
Then, it might be because you saved the plot created with some old version of ggplot2 where the internal use of |
I often save my ggplot objects with
saveRDS()
so that I can load & plot them latter in new sessions. This works quite well, except when I usegeom_bar()
, which creates the following warning:...and results in an empty plot.
Reprex:
Session 1:
Session 2:
sessionInfo
The text was updated successfully, but these errors were encountered: