quartz device behaving strangely after mac update - R mac

自古美人都是妖i 提交于 2021-01-29 05:03:55

问题


I recently got a new macbook pro (2020 13-inch, running Big Sur v 11.1) and am using Rstudio (V 1.3.1093 with R version 4.0.3).

On my old computer, I often used the quartz() function to view my plots in the external graphics viewer. On my old mac, this would allow me to dynamically resize, keep fonts consistent, save directly from the resized version, etc. Now, on my new computer, it is behaving... strangely.

For example, when I run quartz() and a window opens, then I run a ggplot, the quartz window remains completely blank until I resize it just a tiny bit, then my plot appears. Even after the plot appears, sometimes the corners are cut off until I resize again, which then (I guess) refreshes the plot so it properly fills the space. The behavior with ggsave seems off, too, like the plots aren't saving exactly how they are appearing, which is the whole point of using the device.

Is anyone else having similar problems? I don't understand in great detail how graphics devices work, so I know this post is maybe not incredibly informative.

Thanks.

来源:https://stackoverflow.com/questions/65522587/quartz-device-behaving-strangely-after-mac-update-r-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!