Following code produces a plot, however, we got several feedback that the plot wasn't shown in RStudio. One solution usually is to resize the plot window to make it larger, but this often didn't work for some users.
library(performance)
library(see)
data(mtcars)
mod <- lm(mpg ~ disp + cyl, data = mtcars)
plot(performance::check_model(mod), debug = TRUE)
We now could reproduce this issue, which seems to be related to a display setting, when the apps scaling is increased, see this link: View display settings in Windows - Microsoft Support
While I had no problems producing the plots with 100% scaling, I got an error when I set the scaling to 125% and the plot window was too small. Given that some users with high resolutions probably have set the scaling to a higher value than 100%, RStudio generally fails to show the plots, simply due to the scale-setting.
Is there any way to resolve this issue from RStudio side?
There are two videos demonstrating the effects:
works, scaling 100%
fails when plot window too small, scaling 125%