[R-SIG-Mac] Problems with "rgl"
Prof Brian Ripley
r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Fri Jun 10 19:40:39 CEST 2022
On 10/06/2022 17:09, José Carlos Guerrero Antúnez wrote:
> 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.
But it looks like you have not installed XQuartz. If you have done so
in the past, reinstall it. As you are on Intel Mac, I think you want
XQuartz 2.7.11 as I believe that is what is on the build machine.
As a general BTW, I had to guess that you installed a binary package and
the output below is from library(rgl). But please do tell us such things.
> R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
> Platform: x86_64-apple-darwin17.0 (64-bit)
> Any suggestions?
> Registered S3 methods overwritten by 'rgl':
> method from
> Error in dyn.load(dynlib <- getDynlib(dir)) :
> unable to load shared object
> 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
> Referenced from:
> 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...
Brian D. Ripley, ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
More information about the R-SIG-Mac