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

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


Thank you Brian and Duncan,

The solution was easier than I thought, because I had to have installed
XQuartz 2.8.1 instead of 2.7 and now it works correctly.

Regards,

El vie, 10 jun 2022 a las 14:40, Prof Brian Ripley (<ripley using stats.ox.ac.uk>)
escribió:

> On 10/06/2022 17:09, José Carlos Guerrero Antúnez wrote:
> > 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.
>
> 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?
> >
> > 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...
> >
> >
> >
>
>
> --
> Brian D. Ripley,                  ripley using stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
>


-- 
José Carlos Guerrero

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list