Buenas tardes
Les consulto por lo siguiente, posiblemente solo en Apple con procesadores M.
Copio y pego un ejemplo, utilizando optiSel, no importa este sino el mensaje
relacionado a RGL y como trabaja el sistema operativo.
¿Alguna sugerencia?
> library(optiSel)
Error in dyn.load(dynlib <- getDynlib(dir)) :
no es posible cargar el objeto compartido
'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/rgl/libs/rgl.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/rgl/libs/rgl.so,
0x0006): Library not loaded: /opt/X11/lib/libGLU.1.dylib
Referenced from: <C3FB2FAF-8517-3EBF-A366-EAF5C1C74ED7>
/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/rgl/libs/rgl.so
Reason: tried: '/opt/X11/lib/libGLU.1.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/X11/lib/libGLU.1.dylib' (no
such file), '/opt/X11/lib/libGLU.1.dylib' (no such file),
'/Library/Frameworks/R.framework/Resources/lib/libGLU.1.dylib' (no such
file),
'/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server/libGLU.1.dylib'
(no such file)
Error: package or namespace load failed for ?optiSel?:
.onLoad falló en loadNamespace() para 'rgl', detalles:
llamada: rgl.init(initValue, onlyNULL)
error: OpenGL is not available in this build
Además: Avisos:
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... >
[[alternative HTML version deleted]]