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

ggplot2 issue when deleting plots #50

Closed
nx10 opened this issue Jan 24, 2021 · 1 comment
Closed

ggplot2 issue when deleting plots #50

nx10 opened this issue Jan 24, 2021 · 1 comment
Labels
bug Something isn't working C++ backend C++ backend issue

Comments

@nx10
Copy link
Owner

nx10 commented Jan 24, 2021

If the last plot is removed and the second to last plot is a ggplot2 plot it will not be re-rendered correctly after resizing (that plot will be blank).

@nx10 nx10 added bug Something isn't working C++ backend C++ backend issue labels Jan 24, 2021
@nx10
Copy link
Owner Author

nx10 commented Jan 26, 2021

This seems to be a bug in R 4.0.3:

Bug fix for replayPlot(); this was turning off graphics engine display list recording if a recorded plot was replayed in the same session. The impact of the bug became visible if resize the device after replay OR if attempted another savePlot() after replay (empty display list means empty screen on resize or empty saved plot).

See: https://cran.r-project.org/doc/manuals/r-devel/NEWS.html

Works as expected in R-devel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C++ backend C++ backend issue
Projects
None yet
Development

No branches or pull requests

1 participant