[R-SIG-Finance] error in loading rugarch package

Donglei Du donglei.du at gmail.com
Thu Jan 21 15:34:33 CET 2016


Any help with the following issues is greatly appreciated. I am running R on a Mac computer rather than a Windows one.


Donglei Du

Was able to install the 'rugarch’ from CRAN without error/warning, but has the following loading error when calling 

library("rugarch")


Error : .onLoad failed in loadNamespace() for 'rgl', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so
  Reason: image not found
Error: package or namespace load failed for ‘rugarch’  


More information about the R-SIG-Finance mailing list