Skip to menu

drawModel 문의드립니다.

sophiachoi 2022.08.30 18:56 Views : 194

안녕하세요?

 

매개분석 연습중에 node 그려보려고 하는데 darwModel 이 없다고 해서 package 를 다시 설치해보아도 비슷한 메시지가 나와서요.

제 노트북이 문제가 있는 걸까요?

해결 방법을 모르겠어서요. 

 

아시는 분 답 달아주시면 감사하겠습니다.

 

 

> drawModel(labels=labels)

Error in drawModel(labels = labels) : could not find function "drawModel"

 

> require(processR)

Loading required package: processR

Registered S3 methods overwritten by 'broom':

  method            from  

  tidy.glht         jtools

  tidy.summary.glht jtools

Error in dyn.load(dynlib <- getDynlib(dir)) : 

  unable to load shared object '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rgl/libs/rgl.so':

  dlopen(/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rgl/libs/rgl.so, 0x0006): Library not loaded: '/opt/X11/lib/libGLU.1.dylib'

  Referenced from: '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/rgl/libs/rgl.so'

  Reason: tried: '/opt/X11/lib/libGLU.1.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libGLU.1.dylib' (no such file), '/Users/muskrose81/lib/libGLU.1.dylib' (no such file), '/usr/local/lib/libGLU.1.dylib' (no such file), '/usr/lib/libGLU.1.dylib' (no such file), '/lib/libGLU.1.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre/lib/server/libGLU.1.dylib' (no such file), '/var/folders/4p/n1d1km8s6vb7c32l6306c1ch0000gn/T/rstudio-fallback-library-path-wcTtgL/libGLU.1.dylib' (no such file)

Error: package or namespace load failed for ‘processR’:

 .onLoad failed in loadNamespace() for 'rgl', details:

  call: rgl.init(initValue, onlyNULL)

  error: OpenGL is not available in this build

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...