'Do I really need X11 for R on Mac?
R version 3.5.2
macOS version 10.14.2 mojave
Whenever installing an R, package I see the following warning:
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
Reason: image not found
Everything seems to work fine. ggplot2 plots get drawn,...etc.
Do I really need to install X11 from XQuartz? Is anything actually broken?
Does it "unlock" anything?
Solution 1:[1]
this may work:
brew install --cask xquartz
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ines de Santiago |
