Open dgkeyes opened 4 days ago
Hey @dgkeyes I just tried this both ways - with and without theme_omni and going to the console and inline.
In all cases when I call theme_omni() i only get a blank square (inline or in the viewer).
I just uploaded a video showing this as well. I know its weird behavior so it might help to see it with your own eyes. :-)
One other thing I tried is adding library(ragg) to the packages and that didn't seem to make a difference.
@dgkeyes , I uploaded a second video. Now if I switch global settings back to default, from AGG, on the backend graphics device, it works.
I find this really puzzling but wanted you to see that.
Ok, so just to summarize:
With AGG set as the backend graphics device in RStudio:
theme_omni()
preview finetheme_omni()
don't show up at allWith the default backend graphics device:
theme_omni()
) preview fineIs that all accurate?
One other question: what version of RStudio do you have? If it's not the newest version, could you update it and let me know if that changes anything?
Hey @dgkeyes, My first thought was 'yes' this is all correct, but I played with it a little more and so this is current as you've written it with one additional wrinkle. If I set base_family in the them_omni() call to something really basic, like "Arial" the graph will show up interactively with the backend set to AGG. It doesn't show up if it uses Calibri.
It wasn't that long ago that I downloaded fonts, but maybe they get removed at some point during some package downloads? Not sure. But I can double check that.
I am using the current version of R studio.
Can you try using a different font? Try doing theme_omni(base_family = "Times New Roman")
and see what happens. I'm working if it's specific to Calibri or something else.
Video explanation of issue
@OskaratOmni can you please use the code below to make a new R Markdown document and let me know if this works? Here's a video explanation of a couple things to try as well.