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
prefer 'agg' for non-interactive R #1556
Conversation
R/knitr-engine.R
Outdated
# in RStudio Desktop, enforce a non-Qt matplotlib backend | ||
# this is especially important with RStudio Desktop as attempting to use a Qt | ||
# backend will cause issues due to mismatched Qt versions between RStudio and | ||
# Anaconda environments, and will cause crashes when generating plots |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a conda specific workaround? Would a venv python installation find the same Qt version as the IDE? If not, should the comment be updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, this branch was specifically required for older versions of RStudio (which were built against Qt); I've updated the comment to indicate that and also note that we could probably remove this in a future reticulate
release. Does that seem sensible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Sorry I missed this on Monday. Looks good thanks ! |
Addresses rstudio/rstudio#13840.
@cderv does this look like the right fix to you?