Lately, I cannot keep XQuartz closed. It will automatically open when I launch RStudio, but now it will open immediately after I quit it. Over and over again, it will always reopen. I finally uninstalled XQuartz even though it is needed.
I'm running the latest versions of MacOS, R, Rstudio, and Xquartz. I've even uninstalled and reinstalled things multiple times.
Additionally, I'm not convinced it's even working probably when I'm running things that need X11.