[R-SIG-Mac] Problems with "rgl"

José Carlos Guerrero Antúnez jcg@ntunez @end|ng |rom gm@||@com
Fri Jun 10 18:09:58 CEST 2022


Hi,

When I activate this package "rangemap,
https://cran.r-project.org/web/packages/rangemap/index.html", I get an
error message, apparently it is related to "rgl", and I have reinstalled
it, version 0.108.3.

R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Platform: x86_64-apple-darwin17.0 (64-bit)

Any suggestions?

Regards,


Registered S3 methods overwritten by 'rgl':
  method               from
  knit_print.rglId
  knit_print.rglOpen3d
  sew.rglRecordedplot
Error in dyn.load(dynlib <- getDynlib(dir)) :
  unable to load shared object
'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rgl/libs/rgl.so':

dlopen(/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rgl/libs/rgl.so,
6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from:
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/rgl/libs/rgl.so
  Reason: Incompatible library version: rgl.so requires version 5.0.0 or
later, but libGLU.1.dylib provides version 1.3.0
Error: package or namespace load failed for ‘rangemap’:
 .onLoad failed in loadNamespace() for 'rgl', details:
  call: rgl.init(initValue, onlyNULL)
  error: OpenGL is not available in this build
In addition: Warning messages:
1: Loading rgl's DLL failed.
This build of rgl depends on XQuartz, which failed to load.
 See the discussion in https://stackoverflow.com/a/66127391/2554330
2: Trying without OpenGL...



-- 
José Carlos Guerrero

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list