tylermorganwall / rayshader

R Package for 2D and 3D mapping and data visualization
https://www.rayshader.com/
2.06k stars 214 forks source link

Library not loaded: /opt/X11/lib/libX11.6.dylib #71

Closed amilyjusttoday closed 5 years ago

amilyjusttoday commented 5 years ago

library(rayshader) 错误: package or namespace load failed for ‘rayshader’ in dyn.load(file, DLLpath = DLLpath, ...): 无法载入共享目标对象‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/imager/libs/imager.so’:: dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/imager/libs/imager.so, 6): Library not loaded: /opt/X11/lib/libX11.6.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/imager/libs/imager.so Reason: image not found

tylermorganwall commented 5 years ago

Do you have the X11 window server installed?

amilyjusttoday commented 5 years ago

I installed XQuartz and problem solved, thanks