Today, when I ran the fix code, the following error occurred:
> fix(Carseats)
Error in check_for_XQuartz() :
X11 library is missing: install XQuartz from xquartz.macosforge.org
The MAC solution is simple and can be installed with BREW:
brew cask install xquartz
Finally, reboot and let the program take effect.
reference
[1]. The ggplot2 sourcing error: X11 library is missing. https://stackoverflow.com/questions/28984243/ggplot2-sourcing-error-x11-library-is-missing
Read More:
- About the problem of calling tools library by running Python program under Mac OS X, modulenotfoundererror: no module named ‘tools‘
- To solve the problem of “failed to load vmmr0. R0” (Verr) of VirtualBox under Mac OS X_ SUPLIB_ WORLD_ Writable) “error
- [Mac OS] ASUS z97-k r2.0 + gtx960 + clover v2.4k r4098 install Sierra 10.12.5 problems and Solutions
- MacOS Catalina (system): xcrun: error: invalid active developer path(), missing xcrun at / Library
- Install and run phantomjs on MAC
- [Solved] Mac git clone error:xcrun:error:invalid active developer path(/Library/Developer/CommandLineTools)
- [XMR] Could NOT find HWLOC (missing: HWLOC_LIBRARY HWLOC_INCLUDE_DIR)
- [solved] win10 + office2016 error: library not registered, HResult: 0x8002801d
- R language error:‘ namespace:lazyeval There is no exit_ The object is eval
- mvn install Error: Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- OpenGL, such as glad library and glfw library, is incompatible
- [MacOS] brew install 404:Bottle missing, falling back to the default domain…
- Android studio simulator architecture choose arm or x86 to solve the problem of missing libraryexception
- This program cannot be started because vcruntime140 is missing from your computer_ 1.dll。 Try to install the program again to solve the problem.
- [OpenGL] cannot start this program because the computer is missing glut32.dll. Try to re install the program to fix this problem. …
- RuntimeError: Expected hidden[0] size (x, x, x), got(x, x, x)
- Mac install yarn 2020-10-18
- The solution of MAC OpenSSL is not available
- Bug:Install Microsoft Visual C++ 2008 Redistributable (x86) Failed Installation aborted, Result=1603
- mac gem install nokogiri error